Skip to main content
Table of Contents

TTMSFNCUtils.GetJSONValueAsDouble Method

Converts a JSON value to a floating-point value.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
class function GetJSONValueAsDouble(AJSONValue: TJSONValue): Double;
__classmethod double __fastcall GetJSONValueAsDouble(System::Json::TJSONValue* AJSONValue);

Parameters

Name Description
AJSONValue JSON value to convert.

Returns

Value as Double, or 0 when the value is missing or not numeric.