Consultor Eletrônico



Kbase P81439: How to implement floating-decimal format?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/17/2005
Status: Unverified

GOAL:

How to implement floating-decimal format?

GOAL:

What does '<' sign in decimal format mean?

FACT(s) (Environment):

< sign is used in conjunction with > to implement "floating decimal" format. The < symbol (up to 10) must appear to the right of the decimal and be balanced by an equal or greater number of > symbols left of the decimal. A digit is displayed in a position formatted with < when the corresponding > is a leading zero (and the stored value has the required precision).

Examples:
Format VALUE DISPLAY
>>,>99.99<<< 12,345.6789 12,345.68
>>,>99.99<<< 1,234.5678 1,234.568
>>,>99.99<<< 123.45 123.45
>>,>99.99<<< 12.45678 12.45678
>>>.>> 0.123 0.12
>>>.>> 1.234 1.23
>>>.>> 12.345 12.3
>>>.>> 123.456 123.