Copyright (C) 2000-2012 |
Whole document tree 5.7.1 ExampleThe bisect() function is generally useful for categorizing numeric data. This example uses bisect() to look up a letter grade for an exam total (say) based on a set of ordered numeric breakpoints: 85 and up is an `A', 75..84 is a `B', etc.
|