My Oracle Support Banner

How To Convert Decimal Value To Packed Decimal Value (Doc ID 2681412.1)

Last updated on JUNE 21, 2020

Applies to:

Oracle Communications Billing and Revenue Management - Version and later
Information in this document applies to any platform.


Qn: It is possible to convert the decimal field values into packaged decimal values inside invoices?
      In some cases, invoice amount is set in decimal format and there is a need to be moved to packed decimal.


PACKED DECIMAL datatype converts between non-integral numbers in Oracle and a datatype that is suitable for calculation. In COBOL, the data area must be a signed COMP-3 field with an implied decimal point. The number of digits to the right of the decimal point is specified in the FMT parameter of the ODEFIN or ODEFINPS routine and in the SCALE parameter.



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.