validate dollar ammount

/Tag: validate dollar ammount

PHP Verify a Dollar Amount

By |2014-01-05T10:23:29+00:00March 8th, 2012|Code, PHP|

Just a simple function to see if an input numeric value is actually a US Dollar (USD) format\r\nExample:\r\nTwo Dollar Amounts provided to the script.. 1502.38 and 10O.00\r\n\r\nGood: 1,502.38\r\nBad: 10O.00 came back false. \r\n […]