Convert Decimal to 2 bytes, I'm stumped

That's exactly what I wrote last evening:

void DecToHex(int Decimal, byte &Upper, byte &Lower) {
  Upper = Decimal >> 8;
  Lower = Decimal & 0xFF;
}

Note that I used "DecToHex", yours was "Dec2Hex"!

Sir Michael