Template:Coord/dec2dms/testcases

Testing the subroutines
should be 45° should be 73° should be 50° should be 50° should be 0° should be 9° should be 45.5° should be 73.0° should be 50.0° should be 50.2° should be 0.0° should be 9.0° should be 45°29′ should be 73°02′ should be 50°00′ should be 50°12′ should be 0°01′ should be 9°01′ should be 45°28.9′ should be 73°02.5′ should be 50°00.0′ should be 50°12.0′ should be 0°00.1′ should be 9°00.1′ should be 45°28′55″ should be 73°02′28″ should be 50°00′00″ should be 50°12′00″ should be 0°00′03″ should be 9°00′03″ should be 45°28′55.2″ should be 73°02′27.6″ should be 49°59′59.6″ should be 50°00′00.0″ should be 50°12′00.0″ should be 0°00′03.2″ should be 0°00′12.0″ should be 9°00′03.2″
 * d
 * d1
 * dm
 * dm1
 * dms
 * dms1