Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.math.floor
On this pageSignatureParametersReturnsExample

Math / Reference

alerta.math.floor

TradingView-compatible spelling: math.floor, runs without warnings

Rounds x downward to nearest integer.

alerta.math.floor(x) → series float

Parameters

NameTypeRequiredDefaultDescription
xseries floatYes—Input value.

Returns

series float

Example

alerta.math.floor
v = floor(1.8)plot(v, { pane: "oscillator" })

Names and aliases

Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.

AlertaScript

No results found.

Search by name, alias, or keyword.