‎2008 Feb 01 7:34 AM
‎2008 Feb 01 8:07 AM
Hi,
Type N can only take digits not alphabets.
The difference between type N and I is that in type N the digits are treated are characters and acts according to length.
Regards
Eswar
‎2008 Feb 01 7:36 AM
Hi,
Numeric will allow Numbers & Alphabets
Integer will allow only numbers.
Regards,
Satish
‎2008 Feb 01 7:36 AM
integer contains only 0-9.
numc contains 0-9 and alphabets also
Madhavi
‎2008 Feb 01 7:42 AM
Hi,
numeric variables are treated as characters 0-9 an alphabets
integer varable are numbers
Regards
‎2008 Feb 01 8:01 AM
hi sathiesh and madhavi,
u gave as numeric takes both digits and alphabits.But,
when i am going to do the below thing it is giving the
output as
B 020
data :A type i,
B(3) type n,
C type d,
D type c.
C = '20071220'.
A = 100.
D = 'a'.
B = '20a'.
write :/'A = ', A, 'B = ', B, 'C = ', C, 'D= ', D.
‎2008 Feb 01 8:07 AM
Hi,
Type N can only take digits not alphabets.
The difference between type N and I is that in type N the digits are treated are characters and acts according to length.
Regards
Eswar
‎2008 Feb 01 8:19 AM
hi eswar,
thanks for ur response.
can u be clear i mean can u explain some thing with that
‎2008 Feb 01 8:25 AM
Execute below code and i hope it helps you understand:
data: a(10) type c,
b(10) type n,
c type i.
a = '300'.
b = c = 300.
write:/ a,
/ b,
/ c.
~Eswar
‎2008 Feb 01 8:15 AM
inter will take only numbers
Numc will accept alpthanumeric characteres.