Currency and percentage in numeric evaluation
SimPLsol at aol.com
SimPLsol at aol.com
Sun Apr 10 15:27:38 EDT 2005
Richard,
You could add zero to it and see if you get an error.
Since currency signs are usually the first of last character, you could strip
the first or last character after using the zero test above, then test for
zero again.
Or make a list of all major currencies and see if the first or last character
of the string is in the list (the currency list will probably be shorter than
you expect).
Paul Looney
More information about the use-livecode
mailing list