Math & Text
isFloat
$isFloat — Tells whether a number has a decimal part.
Tells whether a number has a decimal part.
Syntax
$isFloat[number]
Parameters
- number (number, required) — The value.
Return Value
- string.
Usage
$isFloat[1.5] → "true"
Example
$sendMessage[$isFloat[1.5]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.