Math Transform

Vector Floor (Round Down) (FLOOR)

Vector Floor

Deep Dive

Everything You Need to Know

Under the Hood

How It Works

FLOOR rounds each value down to the nearest integer (floor function). For example, 45.9 becomes 45, 45.1 becomes 45, and -45.1 becomes -46. This operation rounds toward negative infinity, creating stepped levels from continuous data. FLOOR is the complement to CEIL (which rounds up) and is useful for discretizing values, creating integer thresholds, or implementing grid-based calculations.

In Practice

How Traders Use It

Developers use FLOOR for creating discrete price levels, rounding indicator values down to whole numbers, or building grid-based trading systems. Useful for implementing stepped stop-loss levels, converting continuous indicators to discrete signals, or ensuring integer outputs in algorithms. Combine with CEIL to create integer range boundaries, or use for rounding down position sizes and order quantities. Essential for grid trading algorithms and discrete signal generation.

Highlights

FLOOR at a Glance

Rounds values down to nearest integer
Floor function (toward negative infinity)
Opposite of CEIL (which rounds up)
Creates stepped levels from continuous values
Used for grid-based systems
Essential for discrete signal generation
Useful for position size rounding

Get Started

Automate FLOOR with cryptorobot.ai

Build automated strategies using Vector Floor (Round Down) and hundreds of other indicators. Connect to your favourite exchange and let the bot execute trades 24/7 — no code required.