number_format() enables us to determine the precision we require using a second argument: an integer.
<?php print number_format (100000.56, 2 ); print number_format(100000.56, 4 ); ?>