DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
Round a float two decimal points
>>> print("{:.2f}".format(a)) 13.95
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Round
#float
#decimal
#points
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit