Yes, it can.
IF WS-AGE NUMERIC DISPLAY "NUMERIC" ELSE DISPLAY "NOT NUMERIC' END-IF
The value zero is a perfectly valid numeric array element in its own right. If we used the value zero to mark the end of a numeric array in the same way we use a null-terminator to mark the end of a string (a character array), we'd have no way of representing the value zero within the array itself. Thus when working with numeric arrays, we must keep track of the array length independently of the array.
Computers cannot process anything but binary numbers. Even character strings are just arrays of whole numbers (character codes), so there is absolutely no difference in the processing speed of an array of integers and an array of characters. While the type of operations you will perform on strings are quite a bit different to the arithmetical operations you will perform with numeric data, as far as the computer is concerned there is no difference at all. It's all numeric so there's no difference in terms of processing speed. There is, however, a key difference when it comes to displaying the data in a human-readable form. Displaying a character is simply a matter of emitting the character code which maps directly to a corresponding glyph, such as a bitmap. But converting a binary value to a decimal value requires that each decimal digit be determined before it can be mapped to its corresponding raster. This clearly requires additional processing. The same can also be said of floating point values which require dedicated floating point co-processors to ease the burden. Integer arithmetic is simple by comparison. So, while there is little difference in terms of actual processing, there are differences when it comes to displaying the results. In that sense alone, character data can be dealt with more efficiently than numeric data. However, if character data is used to represent numeric data, such as the string "123.45", then numeric data is far more efficient because the string must be converted to and from an actual numeric value, whereas the numeric value does not.
It depends on the collating order of the character set being used by the computer:ASCII places the numbers before the lettersEBCDIC places the numbers after the lettersFIELDATA places the numbers after the lettersetc.Some early computers had a different collating order than the numeric order of the character codes in the character set, but for modern computers the collating order is usually identical to the numeric order of the character codes.
An alpha character is any letter from A-Z and a-z. Alpha numeric on the other hand is all letters and numbers, but neither allow other characters such as !@#$%^&*() etc.
how do you write $12.00 in a numeric character?
knowledge
Any character except numbers. So letters, punctuation symbols etc. are non-numeric.
Any character except numbers. So letters, punctuation symbols etc. are non-numeric.
Any character except numbers. So letters, punctuation symbols etc. are non-numeric.
IF WS-AGE NUMERIC DISPLAY "NUMERIC" ELSE DISPLAY "NOT NUMERIC' END-IF
They are all numeric characters, exactly as you have written it.
vn1898553
a digit (number) as opposed to a letter--
The hash character which looks like this: #
1 is an integral integer type with the numeric value 1. '1' is an integral character type with the numeric value 49. That is, ASCII character 49 returns the symbol '1'. To convert an ASCII character in the range '0' to '9' to its integral numeric value, subtract character '0' from the character. ASCII character '0' has the numeric value 48, thus '1' - '0' = 49 - 48 = 1. To convert a numeric value in the range 0 to 9 to its ASCII character equivalent, add character '0' to the value. Thus 1 + '0' = 1 + 48 = 49 = '1'.
Not a letter or number .It is Special Character