Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Don't ask what |-0| is
Browse files Browse the repository at this point in the history
  • Loading branch information
beneater committed May 30, 2012
1 parent 805fee6 commit c994242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/absolute_value.html
Expand Up @@ -7,7 +7,7 @@
</head> </head>
<body> <body>
<div class="exercise"> <div class="exercise">
<div class="vars" data-ensure="SIGN === &quot;&quot; || INT !== 0 || FRAC !== 0"> <div class="vars" data-ensure="SIGN === &quot;&quot; || INT !== 0 || FRAC !== &quot;&quot;">
<var id="INT">rand(5) > 0 ? randRange( 1, 9 ) : 0</var> <var id="INT">rand(5) > 0 ? randRange( 1, 9 ) : 0</var>
<var id="FRAC">rand(3) > 0 ? "." + randRange(1, 9) : ""</var> <var id="FRAC">rand(3) > 0 ? "." + randRange(1, 9) : ""</var>
<var id="SIGN">randFromArray(["", "-"])</var> <var id="SIGN">randFromArray(["", "-"])</var>
Expand Down

2 comments on commit c994242

@beneater
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spicyj review?

@sophiebits
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Please sign in to comment.