note 46296 deleted from function.is-numeric by tomsommer

From: Date: Wed, 06 Oct 2004 18:10:00 +0000
Subject: note 46296 deleted from function.is-numeric by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-78080@lists.php.net to get a copy of this message
Note Submitter: xeo at silter dot org ---- The ordinalize function below doesn't seem to account for the teens in each 100 bracket. e.g. 113th would come out as be 113rd. One approach would be to mod by 100 first in that initial check.

« previous php.notes (#78080) next »