Steve S
12-19-2003, 01:00 PM
I have built a javascript / html form calculator. I have intentionally limited the maximum size of the permissible numeric input.
How can I replace the "Not a Number" - "NaN" result with text in the result field when someone inputs a number greater than the acceptable values?
(it is a job quote calculator. Any job greater than a specific amount of time is on an Individual Cost Basis - I want to return "ICB" instead of "NaN")
How can I replace the "Not a Number" - "NaN" result with text in the result field when someone inputs a number greater than the acceptable values?
(it is a job quote calculator. Any job greater than a specific amount of time is on an Individual Cost Basis - I want to return "ICB" instead of "NaN")