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) .
Problem Recent Solvers15
Suggested Problems
-
Renaming a field in a structure array
1038 Solvers
-
879 Solvers
-
5477 Solvers
-
Volume of a sphere given its surface area
124 Solvers
-
131 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!