Calculator Truncates Hexadecimal Numbers Converted from DecimalID: Q187514
|
When you use the Calculator tool to convert a decimal number to a hexadecimal number, some digits in the hexadecimal number may be missing. As a result, if you convert back to a decimal number, the number is different from what you originally typed.
This problem can occur if you attempt to convert a very large decimal
number to hexadecimal. If the hexadecimal equivalent of a decimal number
is more than eight digits, only the eight rightmost digits are displayed.
To prevent this problem from occurring, do not use Calculator to convert
large decimal numbers to hexadecimal.
To work around this problem so that you receive an error message if the
hexadecimal number is too large, use the version of Calculator included
with Windows 95. To do so, follow these steps:
Microsoft has confirmed this to be a problem in Microsoft Windows 98.
For example, the hexadecimal equivalent of "12345678901" is "2dfdc1c35." When you convert "12345678901" to a hexidecimal number using Calculator, the result is "dfdc1c35" (the 2 is truncated). When you convert "dfdc1c35" back to a decimal number, the number is changed to "3755744309."
Additional query words: hex
Keywords : kbtool win98
Version : WINDOWS:98
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: February 5, 1999