Simplified writeNumber and readNumber templates