View Single Post
Old Jan 30th, 2007, 3:48 AM   #2
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
I think the shortest you could get would be:
energy -= 0.05 * energy
Or:
energy *= 0.95
Arevos is offline   Reply With Quote