Added checks for unit to decimal