L. Frederick Hamilton, 62, retired treasurer and comptroller of the old Shoreham Hotel in Washington and a veteran of World War II, died of cancer Tuesday at his Silver Spring home.

A native of Cleveland, Ohio, Mr. Hamilton worked for the Cleveland Tractor Co. before enlisting in the Navy during World War II. H served aboard the aircraft carrier USS Shangri-La in the Pacific Theater.

After the war, he moved to Washington and earned a bachelor's degree in business and economics from American University. He worked as an administrative assistant for the National Scientific Laboratories, now a division of the Systematics General Corp., before joining the staff of the Shoreham Hotel in 1957.

Except for a brief period as assistant manager of the Washington Hotel, he remained with the Shoreham's original owners, the Bralove family, until his retirement in 1974, two years after the Shoreham was sold to the American Hotels.

In recent years, Mr. Hamilton served as a financial adviser to the Bravlove family.

He was active in Washington Hotel and Motel Association and served with a number of American Red Cross committees dealing with community training and national disasters.

Survivors include his wife, Ligia, of Silver Spring; a daughter, Linda Leeper of Gainsesville, Fla., and a step-daughter, Janet Cardenas, also of Silver Spring.