dollar function

Ian Wood revlist at azurevision.co.uk
Thu Feb 8 09:39:16 EST 2007


'is a number' is probably a good place to start, along with the round  
function.
You can also do a rawkeydown handler on the field to check for  
characters you don't want such as currency symbols.

Ian

On 8 Feb 2007, at 14:05, Jeff Honken wrote:

> Does anyone have a function or way to verify a dollar amount that has
> been entered into a field?  I'd like to check a pattern such  0.00 -
> 9999999.99 and make sure they don't put in a $ symbol.  They also need
> to put in a negative dollar amount such as -12.36 .Any help would be
> greatly appreciated.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list