Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

convert number to 2 decimal places in php

echo round(5366.8122270742, 2); //5366.81
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #convert #number #decimal #places #php
ADD COMMENT
Topic
Name
3+1 =