The Roman numeral for 12 is XII
1,200
how do you write $12.00 in a numeric character?
MCC
IF WS-AGE NUMERIC DISPLAY "NUMERIC" ELSE DISPLAY "NOT NUMERIC' END-IF
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.
They are all numeric characters, exactly as you have written it.
vn1898553
To write 1200 in numeric form, you simply write the digits 1, 2, 0, and 0 in that order. The number 1 is in the thousands place, the number 2 is in the hundreds place, and the two zeros represent no value in the tens or ones place. Therefore, 1200 is written numerically as 1,200.
a digit (number) as opposed to a letter--
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'.