There make if condition…
If( remainder of (number÷ 1)) > 0.5 then {
Set number to number + 1 - remainder of (number÷ 1)
}
Else{
Set number to **number - remainder of (number÷ 1)
}

So if decimal value is greater than .5 then it will move to succeeding number else it will preceed…

So according to above defined number it will give output 10

I just asked the question out of curiosity, you are free to use any method.

@Vishwas
So, in simple words, for the method format as decimal , we have to assign ‘0’ to ‘y’ manually, whereas for round method it is automatically ‘0’. Am I right?

Returns the given number rounded to the closest integer. If the fractional part is < .5 it will be rounded down. It it is > .5 it will be rounded up. If it is exactly equal to .5, numbers with an even whole part will be rounded down, and numbers with an odd whole part will be rounded up. (This method is called round to even .)