##
Convert decimal fraction to binary number
March 30, 2017

Given an fraction decimal number n and integer k, convert decimal number n into equivalent binary number up-to k precision after decimal point. Input: n = 2.47, k = 5 Output: 10.01111 Input: n = 6.986 k = 8 Output: 110.11111100 We strongly recommend that you click here and practice it, before moving on to… Read More »