CLAS CL_ABAP_DECFLOAT

Source Link
Open in ADT

Home
Previous Object: CL_ABAP_DB_X_WRITER
Next Object: CL_ABAP_DYN_PRG

Public
Constant parse_ok TYPE I
Constant parse_inexact TYPE I
Constant parse_underflow TYPE I
Static Method read_decfloat34
  IMPORTING
    string TYPE csequence
  EXPORTING
    value TYPE decfloat34
    rc TYPE I
  RAISING cx_sy_conversion_overflow
  RAISING cx_abap_decfloat_invalid_char
  RAISING cx_abap_decfloat_parse_err
Static Method read_decfloat16
  IMPORTING
    string TYPE csequence
  EXPORTING
    value TYPE decfloat16
    rc TYPE I
  RAISING cx_sy_conversion_overflow
  RAISING cx_abap_decfloat_invalid_char
  RAISING cx_abap_decfloat_parse_err
Static Method convert_curr_to_decfloat
  IMPORTING
    amount_curr TYPE p LENGTH 1 DECIMALS 0
    cuky TYPE SYCURR
  RETURNING amount_decfloat TYPE decfloat34
Static Method convert_decfloat_to_curr
  IMPORTING
    amount_decfloat TYPE decfloat
    cuky TYPE SYCURR
  EXPORTING
    amount_curr TYPE p LENGTH 1 DECIMALS 0
    rounded TYPE ABAP_BOOL
  RAISING cx_sy_conversion_overflow
Static Method get_decimal_places_for_cuky
  IMPORTING
    cuky TYPE SYCURR
  RETURNING decimal_places TYPE INT1

Exists on:
754true
750true
702true

Bug reports and ideas welcome
Made using abaplint.app