Consultor Eletrônico



Kbase P131843: How many bytes are used for the data type decimal?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/8/2008
Status: Unverified

GOAL:

How many bytes are used for the data type decimal?

GOAL:

How does Progress calculate the number of bytes used to store data of the data type decimal?


FACT(s) (Environment):

All Supported Operating Systems
Progress 9.x
OpenEdge 10.x

FIX:

The formula used to calculate the amount of bytes used to store a decimal reads:
2 bytes + ((digits + 1) / 2) bytes.