msupply-foundation / openmsupply-client

Someone should really write a description for this repo.
2 stars 0 forks source link

Decimal rounding pattern/consistency #1040

Open josh-griffin opened 2 years ago

josh-griffin commented 2 years ago

mSupply uses a pref for some of this, though I'm not sure how much.

Should use some global variable to set this for.. categories? everything?

i.e. taxDecimalPlaces: 2, moneyDecimals: 10

I know that vaccines use a decimal for quantity in mSupply, but numberOfPacks is an int in the gql schema. I can't think of other decimals off the top of my head

josh-griffin commented 2 years ago

amc/consumption

mark-prins commented 2 years ago

Will require global preferences. Perhaps #1041?