mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 04:51:40 +09:00
.
This commit is contained in:
@@ -35,7 +35,7 @@ local function format_n(amount)
|
|||||||
|
|
||||||
for letter, limit in pairs(suffix_list) do
|
for letter, limit in pairs(suffix_list) do
|
||||||
if math.abs(amount) >= limit then
|
if math.abs(amount) >= limit then
|
||||||
amount = string.format("%.1f", amount / limit)
|
amount = string.format("%.2f", amount / limit)
|
||||||
suffix = letter
|
suffix = letter
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user