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
Related
More Math Transform
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.
FAQ
Frequently Asked Questions
What is the Vector Floor (Round Down) (FLOOR) indicator?
Vector Floor
How does FLOOR work?
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.
How do traders use FLOOR in their strategies?
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.
What are the key points to know about FLOOR?
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
Can I use FLOOR with Cryptorobot.ai?
Yes. Vector Floor (Round Down) (FLOOR) is available as a built-in indicator in Cryptorobot.ai. You can add it to any automated strategy using the no-code strategy builder, backtest it against historical data, and deploy it live on supported exchanges.

