05-09-2006 10:36 AM - last edited on 02-04-2024 6:07 AM by postmig_api_4
what is the diffrent between QUAN and NUMC?
05-09-2006 11:03 AM
Hi rani,
1. There are differences at
a) usage level
b) database level
2. usage level :
quan : we can enter numbers with decimals
(we cannot enter alphabets)
numc : we can enter numbers (without decimals)
(we cannot enter alphabets)
(NUMC is treated as a string only,
(they are not meant for calculatin purpose)
3. database level :
quan : the field type is NUMBER with decimals
NUMC : the field type is CHAR
regards,
amit m.
05-09-2006 10:39 AM
NUMC is a character field which stores numbers.. You cannot specify any decimals for NUMC
QUAN is used to store quantities which has decimals..
05-09-2006 10:39 AM
QUAN field is numeric type and NUMC is char+numeric type
05-09-2006 10:40 AM
Hi
QUAN is for quantity fields of type Packed numbers with decimals.
NUMC is Numeric Characters of type Packed numbers
Regards,
Wenceslaus.
05-09-2006 10:42 AM
Hi,
Usually A QUAN field has to refer to some Unit of measure. NUMC need not refer to any unit field.
Thanks,
Rashmi.
05-09-2006 10:45 AM
Hai Rani
Numeric Text (N) Data Type
Data a(3) type n.
a = 123.
Data b(6) type n value 500029.
Data :c(3) type n value 123,
d(6) type n value 500029.
Data e(3) type n.
move 123 to e.
Quan like Packed type DataType
Packed Number (P) Data type
Data a type p decimals 2.
a = 123.45.
Data b type p decimals 2 value 234.56.
Data : c type p decimals 2 value 123.45,
d type p decimals 2 value 234.56.
Thanks & regards
Sreenivasulu P
05-09-2006 10:50 AM
QUAN and NUMC are character type fields with the exception that you cannot have decimal points for NUMC..
Cheers,
Abdul
05-09-2006 10:52 AM
HI
GOOD
QUAN: Quantity. Equivalent to an amount field DEC. A field of this type must always refer to a units field with UNIT format (reference field). The maximum length for this data type is 31 places
NUMC=>
QUAN: Quantity. Equivalent to an amount field DEC. A field of this type must always refer to a units field with UNIT format (reference field). The maximum length for this data type is 31 places
THANKS
MRUTYUN
05-09-2006 11:03 AM
Hi rani,
1. There are differences at
a) usage level
b) database level
2. usage level :
quan : we can enter numbers with decimals
(we cannot enter alphabets)
numc : we can enter numbers (without decimals)
(we cannot enter alphabets)
(NUMC is treated as a string only,
(they are not meant for calculatin purpose)
3. database level :
quan : the field type is NUMBER with decimals
NUMC : the field type is CHAR
regards,
amit m.