Convert Decimal to 2 bytes, I'm stumped

The standard arduino library also has a highByte() and a lowByte() functions; check them out.