Go to Post Who doesn't love a good Finger Lakes Regional?! - LeelandS [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
p1_sw_aux data type personfromhell Programming 8 02-02-2008 18:40
printing FLOAT data type on the terminal window razer Programming 14 05-02-2007 08:55
javascript ate my cereal! steveg IT / Communications 2 29-03-2004 01:10
Field Location of Type-0 and Type-1 IR Signals Travis Hoffman General Forum 3 27-02-2004 07:58


All times are GMT -5. The time now is 09:36.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi