Why "DivisionPrecision" is a global variable?
Author: csonezpCreated Jan 10, 2023Updated Apr 16, 2026
In my opinion, in the case of high concurrency, if i modify it, it may cause thread safety problems. Why not design it as a local variable?
Source: shopspring/decimal