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