DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+1 =
Submit