'how to convert integer to exponential in different forms for the same value in python
I am trying to get exponential value in different form for the same value. for example:
print('{:e}'.format(100))
ans=1.000000e+02. this is working fine
I want answer like,
ans1: 0.10000e+03
ans2: 0.01000e+04
ans3: 10000.00000e-2
how to achieve these?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
