Problem 42327. Convert Decimal Number to Hex number (including non integer value)
Convert Decimal Number to Hex number (including non integer value)
E.X. (2598.675) in decimal = A26.ACCC in hexa
Solution Stats
Problem Comments
-
7 Comments
Show
4 older comments
Binbin Qi
on 26 May 2015
is it right in test 2?
Pritesh Shah
on 26 May 2015
Updated.. sorry for typo
Jan Orwat
on 26 May 2015
Hi Pritesh, isn't 0.675[dec]==0.A(C)[hex]? If so 0.ACCD[hex] is closer to 0.675[dec].
Rafael S.T. Vieira
on 3 Oct 2020
Please change the name of function.
goc3
on 3 Oct 2020
The function name has been changed to not conflict with a built-in function name. However, rescoring was not performed, as that would invalidate prior correct solutions. Please resubmit your recent attempts.
Rafael S.T. Vieira
on 29 Oct 2020
Already did, goc3, thanks. Please, delete my leading solution if possible.
goc3
on 3 Nov 2020
@Rafael S.T. Vieira: done.
Solution Comments
Show commentsProblem Recent Solvers21
Suggested Problems
-
470 Solvers
-
920 Solvers
-
1191 Solvers
-
171 Solvers
-
Find the square of the sum of the digits of a number
152 Solvers
More from this Author70
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!