Declare one character field value is 2.77 in this filed length is 15 data type Char
i covert the value to numeric using %dec function. But i am getting the value like 277
it does not display dot. how to get dot ?
Software/Hardware used:
V5R3
ASKED:
January 17, 2013 5:24 PM
“how to get dot ?”
You can’t describe the coding to us. You need to show it to use. Show us how the variables are defined, and show us the instructions that perform the conversion. Also show us how you determined that there was no decimal point in the the converted value (because there shouldn’t be one in the value if you look at a memory dump; only in certain display presentations will a decimal point be shown).
Tom