SAP CL ABAP RATIONAL DOC



Get Example source ABAP code based on a different SAP table
  


VERSION 5 IN
• CL_ABAP_RATIONAL ABAP_CLASS

System Class CL_ABAP_RATIONAL
The documented system class CL_ABAP_RATIONAL contains methods for calculating with rational numbers without any precision loss. All basic operations, such as addition, multiplication, division, and subtraction, can be performed without any rounding errors.

ABAP_EXAMPLE_VX5
Creation of arbitrary rational numbers from string values using the method FACTORY_FROM_STRING of the class CL_ABAP_RATIONAL.
ABEXA 01767
ABAP_EXAMPLE_END