Skip to content

Commit

Permalink
Fix example wording (#2206)
Browse files Browse the repository at this point in the history
* Update numerictypes.md

Precision was off

* Update numerictypes.md
  • Loading branch information
cskwrd committed May 16, 2023
1 parent de9fa4d commit 999f954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_pages/numerictypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ float value = 3.1415927F;
value.Should().BeApproximately(3.14F, 0.01F);
```

This will verify that the value of the float is between 3.139 and 3.141.
This will verify that the value of the float is between 3.13 and 3.15.

Conversely, to assert that the value differs by an amount, you can do this.

Expand Down

0 comments on commit 999f954

Please sign in to comment.