Whole number and fraction to binary.