User Tools

Site Tools


4rpl:commands:floor

Index
Math

floor

floor (<-num) ->num

Description

Takes one number from the stack, rounds it down, and pushes that number back on the stack.

Examples

trace(floor(4.2)) #prints '4'

Index

4rpl/commands/floor.txt · Last modified: 2022/05/19 06:20 by Karsten75