May 22, 2002 #1 iamnee Electrical Joined May 22, 2002 Messages 3 Location US Float_point := 21.739 Quotient = 21 remainder = .739 How can I have Mathcad seperate this number for me? I enter Imin and Mathcad will give me two numbers. Imin := 1.087*10-3 PWM := Imin/50 Imin = 21.739 Q := R :=
Float_point := 21.739 Quotient = 21 remainder = .739 How can I have Mathcad seperate this number for me? I enter Imin and Mathcad will give me two numbers. Imin := 1.087*10-3 PWM := Imin/50 Imin = 21.739 Q := R :=
May 22, 2002 #2 meintsi Mechanical Joined Mar 12, 2002 Messages 379 Location US Q:= trunc(Imin) and R:=Imin-Q See insert - function - truncation and roundoff - trunc Upvote 0 Downvote
Aug 4, 2002 #3 Guest If you read the help file you will see the example of how to do this, e.g. round(1.723) = 1 mantissa(x):=x-floor(x) mantissa(1.723)=0.723 Upvote 0 Downvote
If you read the help file you will see the example of how to do this, e.g. round(1.723) = 1 mantissa(x):=x-floor(x) mantissa(1.723)=0.723