Method New ( value:String )
New value from string.
If value does not represent a numerical value, it will always be interpreted as 0.
Impressum, Datenschutzerklärung
Value representing a number. More...
Extends | |
---|---|
JsonValue |
This base class provides some fall-back functionality for the specific json value |
Constructors | |
---|---|
New ( value:String ) |
New value from string. |
Methods | |
---|---|
FloatValue : Float () |
Returns float value. |
IntValue : Int () |
Returns integer value. |
ToJson : String () |
Returns value as string. |
Functions | |
---|---|
Instance : JsonNumber ( value:String ) |
Returns an object containing value. |
Inherited Properties | |
---|---|
Type : Int () |
Indicates the type of the specific JsonValue object. |
Inherited Methods | |
---|---|
BoolValue : Bool () |
For a JsonBool, this will return its boolean value. |
StringValue : String () |
For a JsonString, this will return its string value. |
Value representing a number.
Method New ( value:String )
New value from string.
If value does not represent a numerical value, it will always be interpreted as 0.
Method FloatValue : Float ()
Returns float value.
Method IntValue : Int ()
Returns integer value.
Method ToJson : String ()
Returns value as string.
Function Instance : JsonNumber ( value:String )
Returns an object containing value.