On Mon, 04 Jan 2021 12:24:31 +0000, Ahem A Rivet's Shot wrote:
> On Mon, 4 Jan 2021 11:33:43 -0000 (UTC)
> Martin Gregorie wrote:
>
>> Financial systems never use floating point for accuracy reasons:
>> consequently integers are used to hold currency amounts: sterling
>> amounts are held as pence, euros and dollars as cents and the
>> equivalent convention is used for all other currencies.
>
> I gather that micro-cents/pence are sometimes used when interest
> calculations are involved and the fractions matter, I've used
> milli-pence.
Fair comment - I've not run into that requirement, but most of the stuff
I worked on was financial networks and related systems. Some had multi-
currency capability, so were concerned with exchange rates rather than
interest calculation.
--
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|