Test for decimal when converting temperatures