From Dev.to
How to Convert Decimal to Binary by Hand (and Why 0.1 Never Ends)
Converting decimal to binary comes down to one repeated move: divide by 2 and keep the remainder. Here is the method, a second mental shortcut, and the edge cases (fractions, negatives, language built...
