Draft

multiply double until it's an int

Description:

this is a seemingly simple kata, but it's actually harder than it seems.

your task: given a decimal, multiply it by 10 until it is an int.

ex:

1.38 -> 138

2.474 -> 2474

.0039 -> 39

4.442 -> 4442

this may seem easy, but floating point math inaccuracies actually make it kind of hard! good luck!

Stats:

CreatedOct 17, 2021
Warriors Trained20
Total Skips0
Total Code Submissions34
Total Times Completed13
C++ Completions13
Total Stars0
% of votes with a positive feedback rating10% of 10
Total "Very Satisfied" Votes0
Total "Somewhat Satisfied" Votes2
Total "Not Satisfied" Votes8
Total Rank Assessments9
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • hackedtoad Avatar
Ad