This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| prpl:round [2016/12/02 23:33] – external edit 127.0.0.1 | prpl:round [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| - | |number int| number| [number int- number] | | + | |number int| float| [number int- float] | |
| === Description === | === Description === | ||
| - | Rounds off a number to the specified number of decimal places. | + | Rounds off a number to the specified number of decimal places. This always returns a float, even when you are rounding to a whole number. |
| === Examples === | === Examples === | ||