Distinguishing between Integers and Reals
Distinguishing between Integers and Reals
(OP)
Hi Folks,
I want to write an If statement which does one thing if a sum results in an Integer or another if the sum is a Real number.
I.e.
If A/B = Integer then C
else D
Can anyone give me a hand with the MathCAD commands/syntax?
Thanks in advance
Al
I want to write an If statement which does one thing if a sum results in an Integer or another if the sum is a Real number.
I.e.
If A/B = Integer then C
else D
Can anyone give me a hand with the MathCAD commands/syntax?
Thanks in advance
Al





RE: Distinguishing between Integers and Reals
m:= C if mod (A,B)=0
D otherwise
RE: Distinguishing between Integers and Reals
TTFN
RE: Distinguishing between Integers and Reals