I've got a form where a user submits a price for a tool, i want to display the user from adding something like 11.50 i want either 11 or 12
Can i round this up somehow in PHP?
Also can javascript block this somehow?
There are a variety of basic PHP math functions, e.g. [man]ceil/man, [man]floor/man, and [man]round/man.
There are also Javascript functions sharing the same names as well.