Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 424 Bytes

File metadata and controls

24 lines (19 loc) · 424 Bytes

Math::Floor

Math::Floor(x): int

Round down value.

Table 1. Parameters

x

number

Input value

Return

Value round down to nearest integer.

println(Math::Floor(2.3)); // Will print 2
println(Math::Floor(3.8)); // Will print 3
println(Math::Floor(-2.3)); // Will print -3
println(Math::Floor(-3.8)); // Will print -4