Convert the greatest binary number (by number of binary digits) to decimal
Given a number of characters, I want to generate the greatest integer whose binary representation fits in that number of characters.
Convert the greatest binary number (by number of binary digits) to decimal
Given a number of characters, I want to generate the greatest integer whose binary representation fits in that number of characters.
Javascript • Convert The Last Binary Number (By Characters) To Decimal
My code working perfectly fine :