PHP: number_format() with example

The PHP function number_format() is the function is used to format the given number in a specific format. The below example will show how to format the given number with decimal points. The number_format() will accept 3 parameters as defined below,