converting whole or tenth prices to double decimal

From: Date: Thu, 23 Dec 2004 12:25:23 +0000
Subject: converting whole or tenth prices to double decimal
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-205066@lists.php.net to get a copy of this message
Anybody know the easiest way to convert a number like 2.1 to $2.10 or 2 to $2.00? Silly question? -Brian

« previous php.general (#205066) next »