From an algorithm, I get the number "4.791245e-1" and I need to compare it to normal numbers like .50. How can I convert it to a normal number?
just comparing it doesn't work
if 4.791245e-1 >= 0.5:
...do something...
got an error from it
From an algorithm, I get the number "4.791245e-1" and I need to compare it to normal numbers like .50. How can I convert it to a normal number?
just comparing it doesn't work
if 4.791245e-1 >= 0.5:
...do something...
got an error from it