all database switched to repository model. some other fixes and features
This commit is contained in:
@@ -102,3 +102,7 @@ func DecimalComma(d *decimal.Decimal) string {
|
||||
exp := strings.Split(d.String(), ".")[1]
|
||||
return BigComma(d.BigInt()) + "." + exp
|
||||
}
|
||||
|
||||
func IntComma(i int) string {
|
||||
return BigComma(big.NewInt(int64(i)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user