I have a double variable which outputs some values. Examples:
-
If value = 62.42, I want to round off the value to 62.
-
If value = 62.99, I want to round off the value to 62.
No matter what comes in decimal places, it should only show the whole value.
have you tried assigning this decimal value to an integer? like this: