Declaration¶
Source position: fpjson.pp line 231
type
TJSONFloatNumber = class(TJSONNumber)
public
constructor Create;
class function NumberType : TJSONNumberType;
procedure Clear;
function Clone : TJSONData;
end;
Inheritance¶
Description¶
TJSONFloatNumber must be used whenever floating point data must be represented. It can handle TJSONFloat data (normally a double). For integer data, TJSONIntegerNumber or TJSONInt64Number are better suited.
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Clear | public | Clear value. |
| Clone | public | Clone floating point value. |
| Create | public | Create a new floating-point value. |
| NumberType | public | Kind of numerical data managed by this class. |
See also¶
| Name | Description |
|---|---|
| TJSONNumber | Common ancestor for the numerical value JSON classes. |
| TJSONFloat | Float type used in JSON unit. |
| TJSONIntegerNumber | Class to represent 32-bit integer JSON data. |
| TJSONInt64Number | Class to represent 64-bit integer JSON data. |