Nov 9, 2006 #1 kunletee Mechanical Joined Nov 9, 2006 Messages 10 Location CA Dear all, How do i round off a number to a particular number of decimal places or significant figures. For example,i want to round off 0.0003134444 to 3 decimal places. Thank you. kunletee
Dear all, How do i round off a number to a particular number of decimal places or significant figures. For example,i want to round off 0.0003134444 to 3 decimal places. Thank you. kunletee
Nov 9, 2006 #2 nbucska Electrical Joined Jun 1, 2000 Messages 2,191 Location US X_rounded_3= integer_part_of(1000.* X +.5)/1000. Plesae read FAQ240-1032 My WEB: <http://geocities.com/nbucska/> Upvote 0 Downvote
X_rounded_3= integer_part_of(1000.* X +.5)/1000. Plesae read FAQ240-1032 My WEB: <http://geocities.com/nbucska/>
Nov 10, 2006 Thread starter #3 kunletee Mechanical Joined Nov 9, 2006 Messages 10 Location CA nbucska, Thanks a lot. I will try it out. Upvote 0 Downvote