Icon
 

Decimal to binary conversion by sum of weights method