View Single Post
  #1   Spotlight this post!  
Unread 11-08-2010, 05:54
sithum sithum is offline
Junior Member
no team
 
Join Date: Aug 2010
Location: kenya
Posts: 1
sithum is an unknown quantity at this point
javascript data type ?

Hi ,
I am sending a function an array of values
which contain '09' , '15','20' ,...etc
everything is working fine except when I have to do something with '09' it seems to truncate off the zero at the begining and pass to the function a 9 instead of a 09

What I want to know is how do I make the function interpert the value as 09 it seems to be converting the parameter to a number instead of the string value '09'

array[0] = '09';
array[1] = '15';
..etc

Thanks for any help
Reply With Quote