Name

float::floor — round downwards to integer

Synopsis

FLOAT float::floor ( f FLOAT );
 

Parameters

f FLOAT

Return

FLOAT

Description

Returns f rounded downwards to the nearest integer.

Usage

  trunc (+1.6) -> +1.0
 

  trunc (-1.6) -> -2.0