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

Utilities / Reference

alerta.float

TradingView-compatible spelling: float, runs without warnings

Casts value to floating-point number.

alerta.float(value) → float or series float

Parameters

NameTypeRequiredDefaultDescription
valueanyYes—Value to cast.

Returns

float or series float

Example

alerta.float
f = float("2.5")plot(f, { 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.