Negative Numbers and NumberFormat

Bob Sneidar bobsneidar at iotecdigital.com
Wed Apr 5 16:06:58 EDT 2017


Yup. I have thought for a long time that there should be a formatNumber() function that did almost exactly what Excel does in terms of formatting a number. I will have to look into that. I'll post it if I throw one together. Should be easy given the string operations LC is capable of.

Bob S


On Apr 5, 2017, at 12:07 , Mark Waddingham via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:

I should say the bit of engine code which does parsing and application of the numberformat has been left untouched in terms of what it does for as long as I can remember... It is one of those places where a subtle change could break apps quite easily as it is somewhat hard to see precisely what it should and should not do!

Mark




More information about the use-livecode mailing list