Hire programmers who have read and understood and, ideally, implemented & tested the IEEE spec for floating point arithmetic.
(link). Then tell them to store all values and perform all arithmetic in "double" (64 bit) precision floating point numbers, and to use the rounding modes and the library routines ceil(), floor(), etc. in calculations.
Doubles have a 53 bit mantissa ("fraction part"), giving a precision of 2^53 = 9.0E15. Which means: you get more than 15 decimal digits of precision. As long as you know how to round, you'll be fine.
By the way, it is not a new idea to store all values as doubles and do all calculations as doubles. The UNIX gang at Bell Labs did this in the original "C" language and its bible
The C Programming Language by Kernighan and Ritchie. My copy of the book is Copyright 1978 and I'm sure there are earlier editions.
FYI the 2007 Gross Domestic Product of all countries on earth, was 5.43E13 US dollars
(link) So a 64-bit "double" can hold the GDP of the entire earth,
in pennies, with no loss of precision. I suspect this is adequate for your trading needs. As long as you know how to round, you'll be fine.