note 53939 rejected from function.uksort by betz

From: Date: Fri, 17 Jun 2005 18:06:00 +0000
Subject: note 53939 rejected from function.uksort by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-90595@lists.php.net to get a copy of this message
Note Submitter: jamsongleezer at hotmail dot com ---- Question about the post by aleczapka at gmx dot net 06-Dec-2004 04:27 - above Everything works great for me except when I try to sort a multi-dimensional array that has values with a different amount of decimals. For instance sorting this array: Array ( [0] => Array ( [price] => 99.99 ) [1] => Array ( [price] => 105.25 ) [2] => Array ( [price] => 208.95 ) Produces this: 105.25 208.95 99.99 I would like it to be like this: 99.99 105.25 208.95 Anyone have a simple fix? Thx

« previous php.notes (#90595) next »