Query about mod operator
Richard Gaskin
ambassador at fourthworld.com
Tue Apr 22 10:52:26 EDT 2008
Colin Holgate wrote:
> At 7:31 AM -0700 4/22/08, Richard Gaskin wrote:
>> if n is not a number then return "NAN"
>> get offset(".", n)
>
> Do you know that in many countries a number might be written like this?:
>
> 10.000,1234
>
> Try setting your International number settings to Belgium, you'll see.
True. Let's say we account for the delimiter, since we're proposing an
engine change and it's a one-liner to obtain that from the OS.
Can you think of any reason why a high-level language wouldn't return
results like what's proposed?
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
More information about the use-livecode
mailing list