Parameters
resultSignature
METHODS get RETURNING VALUE(result) TYPE decfloat34.
| Library | Role | Version | License |
|---|---|---|---|
| Astro | Site framework | 6.3.1 | MIT |
| Astro React | React integration | 5.0.4 | MIT |
| Astro Sitemap | Sitemap generation | 3.7.2 | MIT |
| UI5 Web Components | UI primitives | 2.22.0 | Apache-2.0 |
| UI5 Web Components Fiori | Fiori shell components | 2.22.0 | Apache-2.0 |
| UI5 Web Components Icons | Icon set | 2.22.0 | Apache-2.0 |
| UI5 Web Components React | React wrappers | 2.22.0 | Apache-2.0 |
| React | UI runtime | 19.2.6 | MIT |
| React DOM | DOM renderer | 19.2.6 | MIT |
| Shiki | Syntax highlighting | 4.0.2 | MIT |
Represents a JSON number node. Provides typed accessors for common ABAP numeric types and supports cloning, formatting/serialization, equality, and freezing via the base node interface.
JSON does not distinguish between integer and floating-point types. Conversion methods may round, truncate, or raise errors depending on the stored value and target ABAP type.
Immutability contract: Any modifying operation must raise an exception if the node is frozen.
resultMETHODS get RETURNING VALUE(result) TYPE decfloat34.resultMETHODS get_int4 RETURNING VALUE(result) TYPE i.resultMETHODS get_int8 RETURNING VALUE(result) TYPE int8.resultMETHODS get_float RETURNING VALUE(result) TYPE f.Returns the numeric value as a string representation suitable for JSON serialization.
resultMETHODS get_number_string RETURNING VALUE(result) TYPE string.Exports the numeric value into a caller-provided variable of type NUMERIC.
valueMETHODS export EXPORTING !value TYPE numeric.Sets the numeric value of this JSON number node. Must raise an exception if the node is frozen.
valueMETHODS set IMPORTING !value TYPE numeric.