fix: accounting pazuz page
This commit is contained in:
parent
c402c9a204
commit
822efaeaea
5 changed files with 78 additions and 42 deletions
|
|
@ -10,4 +10,12 @@ const defaultToZero = value =>
|
|||
const numberToFiatAmount = value =>
|
||||
value.toLocaleString('en-US', { maximumFractionDigits: 2 })
|
||||
|
||||
export { defaultToZero, transformNumber, numberToFiatAmount }
|
||||
const numberToCryptoAmount = value =>
|
||||
value.toLocaleString('en-US', { maximumFractionDigits: 5 })
|
||||
|
||||
export {
|
||||
defaultToZero,
|
||||
transformNumber,
|
||||
numberToFiatAmount,
|
||||
numberToCryptoAmount
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue