Answers for "php 2 decimal even if not exists"

PHP
0

php 2 decimal even if not exists

number_format((float)$number, 2, '.', '')
Posted by: Guest on June-11-2021

Browse Popular Code Answers by Language