I need a function to do the following, I get the number for example 15, and I need to turn it into a 1.0 decimal, rounding the 5 to 0.
I tried to use number_format(15, 1, '.', '') , but it returns me 15.0
How can I do this?
asked by
22.06.2015 / 16:03