references/sleep-functions/double.md

GitHub

double

Category: Math

Source: https://sleep.dashnine.org/manual/double.html


Synopsis

$ double(n)

Convert the specified value to a double scalar

Parameters

n - the value to apply this function to.

Returns

A double scalar.

Examples

Example:

$value = double(4);
println($value);

Output:

4.0

See Also

&cast; &casti; ∫ &long; &uint