Forums

Currency Validation

Triel 08 Oct, 2010
Hi,

Hopefully someone can help with my question. I have created a calculator and used currency-dollar as the validation. But this does not take into consideration the ','? If someone keys in 20,000.45 the total only shows as 20.00 and not 20000.45. To me when you select currency for US it should take the comma into consideration. Is there an easy fix for this?

Thanks for your help and advice.
GreyHead 08 Oct, 2010
Hi Triel,

The 'dollar' validation will accept numbers with or without commas, dollar sign and/or cents. It validates the entry but doesn't change it.

I suspect that your calculation code is hiccuping on the commas.

Bob
This topic is locked and no more replies can be posted.