Is there a Crystal dll which will convert a string containing a number in scientific notation (i.e. "6.03e2" to numeric and one that will convert it back again?
Unfortunately, the function ScNotn is only half-useful. It requires that any positive number being converted to scientific notation (I have not tried negative numbers) be 1.0 or greater. This means it will not convert a number like .03 to scientific notation. In order for ScNotn to accept it you have to multiply it by 100, meaning it is not the same number and you get a result of 3E+000 when what you really want is 3E-002.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.