Hiya,
I am doing a load of currency calculations e.g. here's one line of it
The 'Total' fields I am using for doing/totalling my calculations has been defined as a local variable that reference an amount field setup in the data dictionary as:
So in my program I am using these 2 decimal field.
Of course I now realize this is a problem, as lots of rounding occurs and my values are way out when you deal with amounts in the millions.
Does anyone know what type of variable they think is best for doing currency calculations?
And could you provide a simple example?
Many thanks!