in another post about converting to binary, we have encountered a problem trying to represent a number greater than what Long can handle. Single and Double handle "larger" numbers, but not more digits. The Mod function overflows if the "A" in A Mod B is larger than the 2+ billion that a Long can handle (does not matter what type A is).
What is the story with "Decimal" type. I have encountered many references, but there is always a caveat about "not being supported".