A formula field needs to convert a character string
containing an exponential value (i.e. "9.99E37"
to a number.
The ToNumber() function returns the "The string is non-numeric." error.
The val() function truncates and rounds the string up to the "E" (i.e. 10). This is inconsistant with Crystal's documentation which states "This function is designed to work like the Visual Basic function of the same name.". The Visual Basic val() function returns the correct value of 9.99E+37.
Oracle's to_number() function returns the correct value as well.
So, how do I convert a string containing a value in the form listed above (containing the standard exponential 'E' symbol) to the correct number in a formula field within Crystal? (Hopefully, the only answer isn't to dive into and parse the string.)
Thanks.
containing an exponential value (i.e. "9.99E37"
The ToNumber() function returns the "The string is non-numeric." error.
The val() function truncates and rounds the string up to the "E" (i.e. 10). This is inconsistant with Crystal's documentation which states "This function is designed to work like the Visual Basic function of the same name.". The Visual Basic val() function returns the correct value of 9.99E+37.
Oracle's to_number() function returns the correct value as well.
So, how do I convert a string containing a value in the form listed above (containing the standard exponential 'E' symbol) to the correct number in a formula field within Crystal? (Hopefully, the only answer isn't to dive into and parse the string.)
Thanks.