Pregunta de entrevista de BlackBerry

how to convert 1.2 to its binary format?