@heathmont/hub88-money
v1.0.14
Published
## Node.js util
Downloads
194
Maintainers
Keywords
Readme
hub88-money
Node.js util
Elixir util
- Github coingaming/hub88-money
How to read config
Currency
Field | Type | Explanation
----- | ---- | -----------
code | string | real currency code
precision | int | how much signs after dot we can handle. 5
for example means that 123.45
will be stored as 12345000
units | unit | virtual currencies for this currency
Units
Field | Type | Explanation ----- | ---- | ----------- code | string | virtual currency code symbol | string | currency symbol for labeling name | string | human-readable currency name shift | int | precision shift relative real currency displayPrecision | int | precision for from_string purpose inputPrecision | int | precision for to_string