Skip to content

ToDouble

Real ToDouble(Int input)

System · system operation · implicitly imported

Converts an Int to a Real.

Parameters

  • Int input — The Int to convert.

Returns

Real — input as a Real.

Errors

A runtime type error if input is not an Int.

Examples

Real r = ToDouble(3);

See Also