Hi all,
I have a variable called myNum.
myNum contains numbers like 12345.67
What I want to do is use len function.
But this gives me 8, I want it to not include the decimal or the number that trails the decimal.
Desired result = 5
Thanks in advance.
I have a variable called myNum.
myNum contains numbers like 12345.67
What I want to do is use len function.
Code:
someOtherVar = len(myNum)
Desired result = 5
Thanks in advance.