how to convert an integer to binary in Arduino?

1110 is B16 and 10112. (also 0138)