I have a routine that converts base10 to bas32 and what is interesting that when I double check some numbers using online conversion tools there seems to be an issue. Here are some numbers and the results of my conversion:
9990330227991015 = 8RU4S26R8F7
9990330227991016 = 8RU4S26R8F8
9990330227991017 = 8RU4S26R8F9
However, all 3 numbers using several online tools (such as http://www.unitconversion.org/numbers/base-10-to-base-32-conversion.html and http://www.kaagaard.dk/service/convert.htm) return 8RU4S26R8F8. I thought it might be the numbers length but the conversions do change if you go higher or lower.
Any ideas why this should be?
It seems that the general consensus is that the online tools that I looked at are probably using real numbers rather than Int64. Using floating point numbers gives the incorrect results illustrated above.