What you could do is to use the Ceil function which rounds to the next full integer.So if you devide by then, then use Ceil and then multiply again by 10 you should get what you are looking for.Though if 10 should be mapped to "20" it won't work, then you may need to check for @test + 1 hereCeil(@te...