Formats a number with grouped thousands.
Syntax
number_format(number,decimal,decimal point,separator)
Example
echo number_format(100000);
echo number_format(100000,2);
Output
100,000
100,000.00
Copyright ©2022 coderraj.com. All Rights Reserved.