Decimal to Binary

When I run my program for Decimal to Binary conversion its shows me the following error:
Traceback (most recent call last):
File “./”, line 9, in
OverflowError: int too large to convert to float

1 Like

The error literally means that you have tried to fit something too big into a float variable. Check if such a thing is happening on line 9 of your program.

1 Like