Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to take float input upto 2 decimal points in python

floatInputToBeTaken = "{:.2f}".format(float(input()))
 
PREVIOUS NEXT
Tagged: #float #input #upto #decimal #points #python
ADD COMMENT
Topic
Name
7+3 =