Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/locales.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sr_Cyrl_BA/sr_Cyrl_BA.go')
-rw-r--r--sr_Cyrl_BA/sr_Cyrl_BA.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/sr_Cyrl_BA/sr_Cyrl_BA.go b/sr_Cyrl_BA/sr_Cyrl_BA.go
index c78a3317..3ae546f7 100644
--- a/sr_Cyrl_BA/sr_Cyrl_BA.go
+++ b/sr_Cyrl_BA/sr_Cyrl_BA.go
@@ -15,6 +15,8 @@ type sr_Cyrl_BA struct {
group []byte
minus []byte
percent []byte
+ percentPrefix []byte
+ percentSuffix []byte
perMille []byte
currencies [][]byte // idx = enum of currency code
}
@@ -55,8 +57,8 @@ func (sr *sr_Cyrl_BA) CardinalPluralRule(num float64, v uint64) locales.PluralRu
n := math.Abs(num)
i := int64(n)
f := locales.F(n, v)
- iMod10 := i % 10
iMod100 := i % 100
+ iMod10 := i % 10
fMod10 := f % 10
fMod100 := f % 100