How do I display the whole number of a real variable if the number does not have any decimal places. I need to display the number with decimal places if it has any.
Ex.
3.00 as 3
3.45 as 3.45
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.