Rad times ten

Use mGy = rad × 10. An illustrative 3.9 rad becomes 39 mGy, and the starting 10 rad becomes 100 mGy.

Milligrays entered first

An input of 55 mGy gives 5.5 rad with the pair reversed. The direction is wrong if that check makes the number larger.

An absorbed amount, not an angle

Rad here is radiation absorbed dose. The answer is unweighted, so it is also distinct from a dose in rem.