George Posted March 18, 2001 Posted March 18, 2001 If I have a numeric field and enter the value of 1.0E4 how can I format the field so that it shows 10000?
CraigH Posted March 18, 2001 Posted March 18, 2001 No warranty expressed or implied, but this may work: Define a field "sciNum" as text and a field "plainNum" as a calculation field returning a number. plainNum = TextToNum( Left(sciNum, ( Position(sciNum,"E", 1, 1) - 1 ) ) ) * 10 ^ ( TextToNum( Right(sciNum, Length(sciNum) - Position(sciNum,"E", 1, 1) ) ))
CraigH Posted March 18, 2001 Posted March 18, 2001 More explanation: You will enter your number in scientific notation as text into the field "sciNum" , but display the results of the calculation field "plainNum". The first line of the calculation finds the stuff to the left of the "E" character and then multiplies it by the 10 raised to the power of th stuff on the right side of the "E".
Newbies fkrebs Posted March 19, 2001 Newbies Posted March 19, 2001 Thanx Craig, George was asking on my behalf since i didn't know about this great site. f ------------------ [This message has been edited by fkrebs (edited March 18, 2001).]
Recommended Posts
This topic is 8906 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now