PHP - removal of decimal places

Hi - I need to remove some decimal places from a form. I also need to either round up or down, depending on the users input. I have tried using 'round' but it does not work.


12345.67 --> 12346

12345.12 --> 12345

The form has about 15 outputs that require rounding and decimal places removing.

Compétences : PHP

en voir plus : rounding, remove decimal, php remove decimal, remove decimal php, good places beginner graphic designer find work, php exec work wordpress, php forms work blackberry, php developer work home, outputs input, php custom work, php database work, php programming work chile, ajax php mysql work form selects, php mysql work, php computer work order

Concernant l'employeur :
( 9 commentaires ) Harrogate, United Kingdom

Nº du projet : #1614032

Décerné à:


Hired by the Employer

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 2 jours
(41 Commentaires)