Skip to content

FLOOR

Summary

Vector floor: rounds each input value down to the nearest integer. Element-wise math transform.

Formula

outReal[i] = floor(inReal[i])

Inputs

  • inReal — Input values

Outputs

  • outReal — Each input rounded down to nearest integer

Implementation

TA-Lib Definition: floor.c · floor.yaml

Native File
C ta_FLOOR.c
Rust floor.rs
Java Core.java

TA-Lib is also available for Python, R and more using a wrapper.

See Also

CEIL