# Number format round up php

##### *2019-11-22 20:30*

The other function available is round(), which takes two parameters the number to round, and the number of decimal places to round to. If a number is exactly half way between two integers, round() will always round up.Oct 01, 2006 for example display 66, 666. 67 but i want the result 66, 666. 66 which is in 1 decimal only and dont want it to rounded up. number format round up php

The numberformat function in PHP seems to round by default. My understanding is that this function is useful for separating every three numbers with a comma. My understanding is that this function is useful for separating every three numbers with a comma.