3 ms·
You can use an arbitrary length integer to store the number of cents? (Or whatever your smallest unit is.) Many languages also have libraries (or standard lib
by eru 1y ago
You can use an arbitrary length integer to store the number of cents? (Or whatever your smallest unit is.)
Many languages also have libraries (or standard libraries) for supporting arbitrary length and precision rational numbers.