Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
How to determine the precision of double_precision_float ?
precision of float numbers
1 Antwort
+ 3
val = 1/60
print('{0:.2f}'.format(val))
print('{0:.5f}'.format(val))
play with ^ to change precision