How to store a decimal value on eeprom

There are even helper functions in the Arduino library:

   unsigned char hvalue, lvalue;  // 8-bit values
   unsigned int full; // 16-bit value

   full = word(hvalue, lvalue);
   hvalue = highByte(full);
   lvalue = lowByte(full);