Im putting values into an array.
example values:
14
15.1
14.12
I want them all to have 2 decimals.
meaning, i want the output of the array to be
14.00
15.10
14.12
How is this easiest achieved?
Is it possible to make the array automatically convert the numbers into 2 decimalplaces?
Or do I need to add the extra decimals at output-time?
you can try for example
now $formated will be 15.10