If the numbers are large, use Math::BigInt.
If you have things like fractional stock shares, consider using the penny concept where a penny becomes the smallest unit you will display to the customer. Store those as ints.
Phil
In reply to Re: Decimal Arithmetic
by philcrow
in thread Decimal Arithmetic
by gcoates
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |