Answers for "limit floating to 2 number php"

PHP
10

limit two decimal php

return number_format((float)$number, 2, '.', '');
Posted by: Guest on October-23-2020

Code answers related to "limit floating to 2 number php"

Browse Popular Code Answers by Language