-
-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Description
Description
This thread shows the issue: https://discord.com/channels/372817064034959370/1457781651638583407/1457793134498021641
it appears that to get two decimals from the commafy variable you need to use 3 in the variable.
Steps to Reproduce
1.Create a log message.
2.Add $if[$math[5.1 % 1] == 0, $commafy[5], $commafy[5.1, 2]]
3.Run the log message and check the console. You should see 5.1 as the log output.
Expected Behavior
I'd expect $commafy[5.1, 2] to give 5.10 as the log output.
Firebot Version
v5.65.3
Submitted By
oshimia
Created via Discord.