Get Example source ABAP code based on a different SAP table
CL_ABAP_BIGINT>, Square Root Calculation This example uses methods of the system class CL_ABAP_BIGINT> to calculate the square root of a natural number to any number of decimal places.
ABAP_SOURCE_CODE DEMO CL_DEMO_BIGINT_SQRT
ABAP_DESCRIPTION The user can enter two integers:
p_int> is an integer that the square root will be calculated from.
p_digits> specifies the number of decimal places of the result. Methods of the system class CL_ABAP_BIGINT> are used to return the square root of p_int> with the required number of decimal places.