Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Distinguishing between Integers and Reals

Status
Not open for further replies.

SuperAl

Structural
Jul 15, 2005
4
0
0
GB
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
 
Replies continue below

Recommended for you

Status
Not open for further replies.
Back
Top