DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
round to 2 decimal places
a = 2.154327 a_2_decimal = "{:.2f}".format(a)
Source by pythonguides.com #
PREVIOUS
NEXT
Tagged:
#decimal
#places
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit