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

Utilities / Reference

alerta.int

TradingView-compatible spelling: int, runs without warnings

Casts numeric values to integer (truncates fractional part).

alerta.int(value) → int or series int

Parameters

NameTypeRequiredDefaultDescription
valueanyYes—Value to cast.

Returns

int or series int

Example

alerta.int
i = int(1.9)plot(i, { 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.