To write an interval, write either a square bracket ( [ ) or a parenthesis ( ( ), the beginning number, a comma ( , ), the end number, and either a closing square bracket ( ] ) or a closing parenthesis ( ) ). Examples of intervals are (4, 9.6), [-100, 100], [-30, -4).