modify parameter name

This commit is contained in:
MaysWind
2024-10-20 21:39:04 +08:00
parent 35ec18cfac
commit 6ce6fd3aa8
+2 -2
View File
@@ -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 {