BillyBoyo wrote:Not possible directly. Look at INTRINSIC FUNCTION NUMVAL in the manual. It can convert that to a format you can use for calculation. Be aware, if you give NUMVAL bad data, it will abend.
Robert Sample wrote:Terminology is critical in IT, where similar terms may mean very different things. And "345,456,333.78" is NOT a data type -- it is a data value. The COBOL variable that contains this value is a numeric edited variable -- so "numeric edited" is a data type. COBOL variables can be alphabetic, alphanumeric, numeric, numeric edited, pointers, conditionals, groups, and so forth -- you would do well to learn the terminology now and use the correct terms to prevent confusion in the future.
Yes, you are wrong. . .I think there is difference between Data of Type 345,455... and Data type. So what I write seems to be correct only. Correct me if I am wrong.
Using this definition, what you provided in your original post is NOT a "data type" at all. As Dick said, you are wrong. If you wish to continue in your wrongness, do not do so here -- we prefer standard terminology as much as possible, since debugging issues becomes much easier when everyone refers to the same things in the same way.In certain technical fields (especially computer programming and statistics), a data type is a classification identifying one of various types of data, such as real-valued, integer or Boolean, that determines the possible values for that type; the operations that can be done on values of that type; the meaning of the data; and the way values of that type can be stored.