Negative Numbers and NumberFormat

Bob Sneidar bobsneidar at iotecdigital.com
Wed Apr 5 14:28:08 EDT 2017


And here is an oddity again. In the dictionary, there is no mention of spaces or any other character besides "0.#" being valid in a numberformat string, but:

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

produces -09:000:000

In fact, you can put ANYTHING in place of a 0, and it will treat it as though it were a 0! 

Whaaaaa???

Bob S






More information about the use-livecode mailing list