Skip to content

floor

Module Export

number |> number

Rounds a number down to the nearest integer.

Examples

import 'math'
from from 1.56 floor
// Returns:
1