BUG: Scientific Number to String/String to Number 
Author Message
 BUG: Scientific Number to String/String to Number

The code bellow demonstrates a numeric conversion bug in Dolphin 4.1.3.
Actually the bug may be the string representation code of the number rather
than the string to number conversion code.  This code works in 4.1.2.

('3.0e-2' asNumber) printString asNumber

The problem is that the printString returns '3.e-002', but it needs the $0
after the $. to convert back to the number so it returns 3.


Mon, 16 Feb 2004 03:12:04 GMT  
 [ 1 post ] 

 Relevant Pages 

1. number to string .... string to number

2. indexing numbers as numbers or strings

3. VPREXX Help? Adding number to string number

4. number to string to number

5. number's to string -) tcp-ip -) scan from string problem

6. Using scan from string to convert a string into a number

7. Numbers Numbers Numbers

8. Q: String To Number Conversion

9. Number -> String ( looking for code )

10. Converting strings to numbers.

11. Repeat a string a specified number of times...

12. How to count the number of individual strings?


Powered by phpBB® Forum Software