modify parameter name
This commit is contained in:
@@ -101,8 +101,8 @@ func StringToFloat64(str string) (float64, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// FormatAmount returns a textual representation of amount
|
// FormatAmount returns a textual representation of amount
|
||||||
func FormatAmount(amount int64) string {
|
func FormatAmount(value int64) string {
|
||||||
displayAmount := Int64ToString(amount)
|
displayAmount := Int64ToString(value)
|
||||||
negative := displayAmount[0] == '-'
|
negative := displayAmount[0] == '-'
|
||||||
|
|
||||||
if negative {
|
if negative {
|
||||||
|
|||||||
Reference in New Issue
Block a user