Berserk Docs
Scalar FunctionsType Functions

asdouble

Extract a real from a dynamic or pass through an int/long/real value. Other types become null.

Syntax

asdouble(value)

Parameters

Prop

Type

Returns: real

Examples

Example 1

print asdouble(dynamic(3.15))
print_0 (real)
3.15

On this page