This was just an example, no real code. It is related to single and double and the fact some numbers can't be stored in those datatypes. I had everything on currency before (could also use integer only and scale everything), but ryzom is internally also using singles and doubles. When I had KC *exact* it spilled out wrong numbers, because the game also has some rounding, cutoff, drift etc.
It is quite a challenge... But a welcome one.
arc
It is quite a challenge... But a welcome one.
arc
---