Search
 
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
Name
3+7 =