Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

format number in python

num = 123
print(f'{num:.3f}') # 123.000
 
PREVIOUS NEXT
Tagged: #format #number #python
ADD COMMENT
Topic
Name
2+8 =