ILE RPG Language Reference


%DEC (Convert to Packed Decimal Format)

%DEC(numeric or character expression{:precision:decimal places})
%DEC(date time or timestamp expression {:format})

%DEC converts the value of the first parameter to decimal (packed) format.


[ Top of Page | Previous Page | Next Page | Contents | Index ]