In my code, I'm calculating a very simple ratio and have the result displayed in a message box. However, I want to have this value only show 1 or 2 significant figures (e.g. if I take 9 / 7, I want to show 1.3 and not 1.28571).
How do I do this?
In my code, I'm calculating a very simple ratio and have the result displayed in a message box. However, I want to have this value only show 1 or 2 significant figures (e.g. if I take 9 / 7, I want to show 1.3 and not 1.28571).
How do I do this?
Last edited by gonger; 07-08-2009 at 05:01 PM.
Please Login or Register to view this content.
gtmeloney - perfect! thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks