Functionalities
Other
$toFixed
Rounds a number in a specific spot and adds zeros where applicable.

FUNCTION USAGE

  • $toFixed[number1;number2]

Properties:

number1 - The number to be rounded. number2 - The number placement to round.

Example 1: Returns 420.0

1
bot.Command({
2
name: "test",
3
code: `
4
$toFixed[419.99;1]
5
`
6
})
Copied!
Last modified 9mo ago
Copy link
Contents
Properties: