stewartwebb
Programmer
I have several text fields, all are decimal numbers. Each decimal field is of different format e.g can be 123.45, 1234.56, 12345.67 etc.
Is there a way that I can pass the value of the field and the format (4,2 for example) and do a regular expression to check that the value matches the format?
Thanks for any help
Is there a way that I can pass the value of the field and the format (4,2 for example) and do a regular expression to check that the value matches the format?
Thanks for any help