set scale info for currency

This commit is contained in:
Bilal
2020-10-06 15:34:35 +03:00
parent cd88d21a26
commit 7458cd3b75

View File

@@ -6,6 +6,7 @@ class ChipsController < ApplicationController
name: 'US Dollar', name: 'US Dollar',
symbol: '$', symbol: '$',
code: 'USD', code: 'USD',
scale: 2,
prefixed: true prefixed: true
}, },
{ {
@@ -13,6 +14,7 @@ class ChipsController < ApplicationController
name: 'Bosnian Convertible Mark', name: 'Bosnian Convertible Mark',
symbol: 'KM', symbol: 'KM',
code: 'BAM', code: 'BAM',
scale: 2,
prefixed: false prefixed: false
}, },
{ {
@@ -20,6 +22,7 @@ class ChipsController < ApplicationController
name: 'Euro', name: 'Euro',
symbol: '€', symbol: '€',
code: 'EUR', code: 'EUR',
scale: 3,
prefixed: false prefixed: false
} }
] ]