Negative Numbers and NumberFormat

Bob Sneidar bobsneidar at iotecdigital.com
Mon Apr 3 13:11:02 EDT 2017


Was anyone aware that the sign takes up one of the digital in number format? For instance, 

set the numberformat to "00";put -1 +0 & ":" & 0 +0 & ":" & 0 +0
returns:
-1:00:00

but 
set the numberformat to "00";put -12 +0 & ":" & 0 +0 & ":" & 0 +0
returns:
-12:00:00

Does no one else find that odd??

Bob S






More information about the use-livecode mailing list