View previous topic :: View next topic
|
Author |
Message |
prabhucs01 Warnings : 1 New User
Joined: 07 Mar 2005 Posts: 43
|
|
|
|
Is it possible to mutiply a comp and comp3 field and vice versa. Will there be any error if we try to multiply? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Why would you think there would be ANY problems in multiplying two numeric fields together? Unless, of course, the result field is too small to contain the result. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Quote: |
Unless, of course, the result field is too small to contain the result.
|
Or if the comp-3 field does not contain a valid numeric value. . .
d |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
prabhucs01 wrote: |
Is it possible to mutiply a comp and comp3 field and vice versa? |
Don't you have mainframes connection these days? |
|
Back to top |
|
|
santy Warnings : 1 New User
Joined: 19 Jul 2007 Posts: 22 Location: mumbai
|
|
|
|
yes, it is possible to multiply a COMP and COMP3 field or vice versa, but the your COMP3 variable should contain the numeric value and the data size for the COMP3 variable should be sufficient to store the result value or above multiplication operation. |
|
Back to top |
|
|
|