TTMSFNCUtils.GetJSONValueAsDouble Method
Converts a JSON value to a floating-point value.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCUtils
Syntax
class function GetJSONValueAsDouble(AJSONValue: TJSONValue): Double;
Parameters
| Name | Description |
|---|---|
AJSONValue |
JSON value to convert. |
Returns
Value as Double, or 0 when the value is missing or not numeric.