-1

Is there a way to print the actual value instead of exponential value?

>>> val=0.00004
>>> print(str(val))
4e-05
Punter Vicky
  • 15,954
  • 56
  • 188
  • 315

2 Answers2

1

As posted in here: How do I suppress scientific notation in Python?

print('{0:f}'.format(val))
b3rt0
  • 769
  • 2
  • 6
  • 21
1

Try this,

print('{:f}'.format(val))