I want to display the number 1000.5 like 1000.50 with 2 decimal places and no commas/thousands separators.
I am using number_format to achieve this:
number_format(1000.5, 2);
This results 1,000.50. The comma (,) separator appended in thousand place which is not required in the result.
How can I display the number with a trailing zero and no comma?