Consultor Eletrônico



Kbase P51036: Can an integer fiel defined as FORMAT "->>>>>9" display a value of 1234567?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/17/2010
Status: Unverified

GOAL:

Is is expected for a decimal field defined as FORMAT "->>>,>>9.99" display a value of 1234,567.89 if the value of the variable is set as 1234567.89?

GOAL:

Can an integer fiel defined as FORMAT "->>>>>9" display a value of 1234567?

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.x

FIX:

Yes, this is expected behavior.

For "-9" can display up to 2 digit positive number, (OR) up to one digit negative number.
For ">9" can display up to 2 digit positive number, (OR) cant display negative number.
For ">>9" can display up to 3 digit positive number, (OR) cant display negative number.
For "->9" can display up to 3 digit positive number, (OR) up to 2 digit negative number.

So in the interger case, the given format string can display up to 7 digit positive number, (OR) can display up to 6 digit negative number.