[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'fpjson' (#fcl)

TJSONFloatNumber

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Class to represent floating-point JSON data.

Declaration

Source position: fpjson.pp line 150

type TJSONFloatNumber = class(TJSONNumber)

public

  constructor Create();

  

Create a new floating-point value

  class function NumberType; override;

  

Kind of numerical data managed by this class.

  procedure Clear; override;

  

Clear value

  function Clone; override;

  

Clone floating point value

end;

Inheritance

TJSONFloatNumber

  

Class to represent floating-point JSON data.

|

TJSONNumber

  

Common ancestor for the numerical value JSON classes.

|

TJSONData

  

Base (abstract) object for all JSON based data types

|

TObject

Description

TJSONFloatNumber must be used whenever floating point data must be represented. It can handle TJSONFloatType data (normally a double). For integer data, TJSONIntegerNumber or TJSONInt64Number are better suited.

See also

TJSONIntegerNumber

  

Class to represent 32-bit integer JSON data.

TJSONInt64Number

  

Class to represent 64-bit integer JSON data.


Documentation generated on: Sep 28 2017