∵ 42'' = (42/60)' =0.7'
∴ 118°20'42'' = 118°20.7'
又∵ 20.7'=(20.7/60)°=0.345°
∴ 118°20'42'' = 118.345°