Skip to content

Std json jsonvalue tonumber

std:std.json.JsonValue.ToNumber

Method ToNumber:Double( )#

Gets number value.

If the value is a number, returns its actual value.

If the value is not a number, 0 is returned by default.