GNOME Bugzilla – Bug 393347
3D1 = 30, 3D2 = 300
Last modified: 2007-01-09 04:48:09 UTC
Please describe the problem: entering 3D1 in a cell causes the cell to have value 30, 3D2 turns into 300, etc.. Steps to reproduce: 1. enter 3D1 in the cell of your choice Actual results: cell value is 30 Expected results: cell would have 3D1 as it's contents Does this happen every time? yep Other information:
I cannot reproduce this. What is your exact version? What OS? Does it happen with letters other than "D"? (Note, that "E" is supposed to be different.)
Never mind. You're probably using the Win32 build and Microsoft just couldn't be bothered to follow the C standard for strtod. http://msdn2.microsoft.com/en-us/library/kxsfc1ab(VS.80).aspx http://people.freebsd.org/~green/c9x-draft.txt That being said, I am not entirely sure that we should interpret the string 0x1234p5 as 149120 in the standard C99 case. :-)
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.