From 7458cd3b75a4add947d2544c5f595487f92a79da Mon Sep 17 00:00:00 2001 From: Bilal Date: Tue, 6 Oct 2020 15:34:35 +0300 Subject: [PATCH] set scale info for currency --- app/controllers/chips_controller.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/controllers/chips_controller.rb b/app/controllers/chips_controller.rb index 950d937..c1c6add 100644 --- a/app/controllers/chips_controller.rb +++ b/app/controllers/chips_controller.rb @@ -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 } ]