Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Silva committed Oct 10, 2014
1 parent d78f6a3 commit f0688ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
This library lets you use mathematical intervals in php. Trust me, it's way cooler than it sounds :)

Before using this library you should understand what intervals are and how to use them.
[MathIsFun](http://www.mathsisfun.com/sets/intervals.html) does an excellent job at expplaining them so thake a look.
[MathIsFun](http://www.mathsisfun.com/sets/intervals.html) does an excellent job at explaining them so take a look.

### Interval Notation
MathInterval uses a different notation to define the intervals. [MathIsFun](http://www.mathsisfun.com/sets/intervals.html) explains that when we intend to exclude the beginning and ending numbers we use ( ).
**MathInterval** uses a different notation to define the intervals. [MathIsFun](http://www.mathsisfun.com/sets/intervals.html) explains that when we intend to exclude the beginning and ending numbers we use ( ).
For example: ```(5, 12] - Do not include include 5 but include 12.```

In MathInterval we always use [ ] but open them to the opposite side. So the same example would look like: ```]5,12] - Do not include include 5 but include 12.``` If you'd want to also exclude 12 you'd write it as: ```]5,12[ - Do not include include 5 and do not include 12.```
In MathInterval you always use [ ] but open them to the opposite side. So the same example would look like: ```]5,12] - Do not include include 5 but include 12.``` If you'd want to also exclude 12 you'd write it as: ```]5,12[ - Do not include include 5 and do not include 12.```

> Although MathInterval uses a different notation bot are accepted as part of [ISO 31-11](http://en.wikipedia.org/wiki/ISO_31-11).
Expand Down

0 comments on commit f0688ff

Please sign in to comment.