NEW YORK (AP) -- The price of oil rose Tuesday as OPEC upgraded its forecast for global demand and the Group of Seven industrial nations pledged not to devalue their currencies.

Benchmark oil gained 47 cents to $97.50 in afternoon trading on the New York Mercantile Exchange.

OPEC, the Vienna-based organization comprising many of the world's key oil exporters, raised its 2013 forecast for global demand to 89.7 million barrels -- 80,000 barrels more than its previous forecast a month ago -- citing "some signs of recovery in the global economy and colder weather at the start of this year."

It said about half of the demand increase over 2012 would come from China.

Oil prices were also supported by a rise in the euro against the dollar. The increase makes it cheaper for European traders to buy crude oil, which is priced in dollars. On Tuesday, the euro was up to $1.3459 from $1.3398 late Monday in New York.

The euro rose after the finance ministers from leading industrial nations, including the U.S., Japan, and Germany, insisted they remained committed to exchange rates driven by the market -- not government policy -- and would consult closely when it comes to sharp movements in foreign currency markets.

Brent crude, used to price international varieties of oil, was up 10 cents to $118.23 a barrel on the ICE Futures exchange in London.

In other energy futures trading on the Nymex:

  • Wholesale gasoline was unchanged at $3.02 a gallon.
  • Natural gas fell 2 cents to $3.25 per 1,000 cubic feet.
  • Heating oil was flat at $3.23 a gallon.