sma11
(sma11)
1
What I want to do
I need to store currencies in dgraph which will then be used for profit/loss calculations. Which scalar should I use? Will Float be accurate?
vnium
2
Use integers to store and calculate. Divide by the number of decimal places when displaying the value to users.
1 Like