This is a very simple class that can be used to format an array of numbers as a sequence of number ranges.
It takes an array of integer numbers and sorts the array.
The class generates a string that represents sequences of contiguous numbers as ranges with the first and the last sequence number separated by dashes. Non contiguous numbers are separated commas.
For instance, array(1,2,3,5,7,8,9) is transformed in the sequence "1-3, 5, 7-9".
|
|
| Name: |
Number Sequence |
| Base name: |
numbersequence |
| Description: |
Format an array of numbers as a sequence or ranges |
| Version: |
1.1 |
| PHP version: |
5.0 |
| License: |
Freeware |
| All time users: |
235 users |
| All time rank: |
6528 |
| Week users: |
0 users |
| Week rank: |
2051  |
| |
|
| There are not enough user ratings to display for this class. |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|