I write financial applications where I constantly battle the decision to use a double vs using a decimal.
All of my math works on numbers with no more than 5 decimal
Just use a long and multiply by a power of 10. After you're done, divide by the same power of 10.