System.JSON.FloatToJson

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function FloatToJson(const Value: Extended): string;

C++

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

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.JSON.pas
System.JSON.hpp
System.JSON System.JSON


Description

Renvoie la valeur à virgule flottante spécifiée au format JSON.

Par exemple, si Value vaut 1.2, FloatToJson renvoie une chaîne contenant 1.2.

Voir aussi