Re: Problem with wanting something NOT to round

From: Date: Fri, 17 Nov 2006 11:25:47 +0000
Subject: Re: Problem with wanting something NOT to round
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-244798@lists.php.net to get a copy of this message
George Pitcher wrote:
I am using PHP5.1 with Smarty templates on my page (but not on the standalone page). Smarty doesn't offer anything other than the sprintf() options for string formatting of decimal numbers, and I'm already doing that. Do you think Smarty could be so unsmart as to undo the formatting? As another test, I did settype($fee2, "float")then the gettype($fee2) and got 'float' on the standalone page and NULL on my Smarty page.
Sounds like a question for the Smarty mailing list. -Stut

« previous php.general (#244798) next »