Google uses 1000000 as multiplier in their APIs.
Edit: And they forbid equality comparisons for rationals. For some reason even >= is not allowed.
Edit: And they forbid equality comparisons for rationals. For some reason even >= is not allowed.
EDIT: Just a note, there's nothing special about the number 100000; pick the largest exponent of 10 that you can get away with a reasonable assurance that no overflow is possible. For a vast majority of money applications, I seriously doubt you're going to be hitting the limits of int64, so you could probably even get away with something like 1000000000.