Problem 42758. Convert float to base N
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 19 Sep 2020
The problem actually considers 6 digits before and after the decimal point in the target base, which means 12 digits. Imho, when stating the number of digits after the decimal point, we must specify the base that we are referring to (since the digit 8 in base 10 is 4 digits in base 2, and the 2-digit number 15 in base 10 is only one digit F in base 16) .
Solution Comments
Show commentsProblem Recent Solvers19
Suggested Problems
-
1478 Solvers
-
Back to basics 3 - Temp Directory
360 Solvers
-
Back to basics 19 - character types
256 Solvers
-
Sum of diagonal of a square matrix
1517 Solvers
-
The Answer to Life, the Universe, and Everything
499 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!