Kbase P117376: How to suppress zeroes after a decimal point?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  17/07/2006 |
|
Status: Unverified
GOAL:
How to suppress zeroes after a decimal point?
GOAL:
How to display a decimal value with a zero decimal as an integer?
GOAL:
For example, how to display the decimal values : 123.40 as 123.4 123.00 as 123.
FIX:
Using 4GL this can be accomplished using the STRING function.
i.e.
string(123.40) = 123.4
string(123.00) = 123