SHAZAM Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Round of decimal numbers

Hi all,

I have a variable y > 0 and some of the numbers are decimal numbers, for example 0.3, 1.6, 7.7 etc. I want to round of the numbers so they are hole numbers, i.e. 2.6 is round of to 3 and 1.2 is round of to 1 and 0.2 is round of to 0 etc. Any suggestion which GENR-commend could solve the problem?