Closed httpete-ire closed 8 years ago
The current implementation of decimalToBinary only works with base 2 numbers.
Calling decimalToBinary(3) returns 1.51, it should return 111.
The fix works with any decimal number.
Nice job with the repo, some good questions to look over 👀
Thanks! This was a helpful fix :D Just started this repo, so appreciate it!
The current implementation of decimalToBinary only works with base 2 numbers.
Calling decimalToBinary(3) returns 1.51, it should return 111.
The fix works with any decimal number.
Nice job with the repo, some good questions to look over 👀