Do math functions take decimals?

I am using your solution. So, what should I convert it to?