on 09-23-2007 5:42 PM
Hi,
I am having requirement as following
result = (A*B)-C
Here A,B,C are attributes, i am getting these attributes after doing some calculation on some other attributes in Business Logic Services.
possibilities: (A*B) can be greater than C
(A*B) can be equal or less than C
I has to calculate the above result value and I has to plot in spc chart according to that by taking y-axis range as -1000 to 1000 value.
Is there any action block for this or we have to write logic.
Please can anybody help me in resolving above calculation and storing into result along with '+' or '-' sign
Message was edited by:
RAJESH PERLA
Message was edited by:
RAJESH PERLA
Message was edited by:
RAJESH PERLA
Rajesh
I Agreed with Udayan. Though this is not clear wat exactly u want here, i think u need not get confused with (+)ve/(-)ve sign in numbers bcoz in BLS all calculations are self mathematically done with proper result.
Anyway, if it is strictly requirement of assignment for signs to numbers, u may use this expression as <b>-1 * ((A*B)-C)</b> for negative sign, otherwise <b>+1 * ((A*B)-C)</b> for positive sign.
Of course, all attributes must be Number Data Type to be calculated properly, otherwise set that attribute as number with use of built-in function <b>number(attribute)</b>
Regards
Som
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't understand.You have your expression infront of you and and based on whatever the evaluation is, RESULT will have a -ve or a +ve value.
I am not sure what problem are you facing here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.