Saving long numbers into eeprom

http://www.arduino.cc/playground/Code/EEPROMWriteAnything
Yes, it's C++, but there's an example there.
The idea of the template is that it'll work for any datatype.