System.JSON.FloatToJson

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function FloatToJson(const Value: Double): string;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall FloatToJson(const double Value);

Properties

Type Visibility Source Unit Parent
function public
System.JSON.pas
System.JSON.hpp
System.JSON System.JSON

Description

Returns the specified floating-point value in JSON format.

For example, if <Value> is 1.2, FloatToJson returns a string that contains 1.2.

See Also