Numberformat

Colin Holgate coiin at rcn.com
Tue Aug 26 15:54:09 EDT 2008


At 8:46 PM +0100 8/26/08, David Bovill wrote:
>  >     set the numberformat to "00.######"
>>      put item 1 of someNum + 0 into padedNum
>  >     set the numberformat to "0.######"

I think the problem is that the numberformat only affects how the 
number appears, not what it is. Because you set it back to 
"0.######", what would have been 08 becomes 8. padeNum contains the 
value of 8, not the string of "08".






More information about the use-livecode mailing list