Data.DBXPlatform.TDBXPlatform.TryJsonToFloat

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function TryJsonToFloat(DotValue: string; var Value: Double): Boolean;

C++

__classmethod bool __fastcall TryJsonToFloat(System::UnicodeString DotValue, double &Value);

Properties

Type Visibility Source Unit Parent
function public
Data.DBXPlatform.pas
Data.DBXPlatform.hpp
Data.DBXPlatform TDBXPlatform

Description

Attempts to convert a JSON string into a Double.

The TryJsonToFloat static method attempts to convert a JSON string, given by DotValue, to a Double. The string value specified by DotValue can employ the dot decimal separator character.

See Also