add the round scalar function