Utilities / Reference
alerta.float
TradingView-compatible spelling: float, runs without warnings
Casts value to floating-point number.
alerta.float(value) → float or series floatParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
value | any | Yes | — | Value to cast. |
Returns
float or series floatExample
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.