Skip to content
Browse files

Merge pull request #43381 from petercollingridge/floor_to_round

fix #41894;

Test plan: Check some example exercises and ensure that the hundredths place is correctly given in the hints.

Auditors: beneater, alpert
  • Loading branch information...
2 parents 65ba1c9 + eb8034f commit 050dcce20a158900fc9fac5454bb04c8dc07f1a2 @petercollingridge petercollingridge committed Mar 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 exercises/converting_decimals_to_fractions_1.html
View
2 exercises/converting_decimals_to_fractions_1.html
@@ -25,7 +25,7 @@
<div class="vars">
<var id="D">randRangeExclude(1, 99, [10,20,30,40,50,60,70,80,90]) / 100</var>
<var id="T">floor( D * 10 )</var>
- <var id="H">floor( ( D * 100 ) % 10 )</var>
+ <var id="H">round( D * 100 ) % 10</var>
</div>
<p class="question">Express <code><var>D.toFixed( 2 )</var></code> as a fraction.</p>
<p class="solution" data-type="rational" data-simplify="optional"><var>D</var></p>

0 comments on commit 050dcce

Please sign in to comment.
Something went wrong with that request. Please try again.