numberFormat prop

Dar Scott dsc at swcp.com
Tue Jul 9 16:04:01 EDT 2002


On Tuesday, July 9, 2002, at 02:48 PM, Scott Rossi wrote:

> Recently, "Steve Messimer"  wrote:
>
>> it would be nice to see an example of how the
>> numberFormat should work.
>
> I believe the numberFormat is a global property, not applied to 
> specific
> controls.  So you simply say "set the numberFormat to 0.00" and 
> then any
> scripts currently executing use this format.

It's local.

And be sure and read the paragraph marked "important" that explains 
that this applies only to numbers becoming strings, not to those 
just sitting there looking like numerals.  (Values can be character 
strings and--in a not-quite transparent way--numbers.)

Dar Scott




More information about the use-livecode mailing list