RE: [PHP] Need unrounded precision

From: Date: Mon, 12 Oct 2009 16:13:00 +0000
Subject: RE: [PHP] Need unrounded precision
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-298865@lists.php.net to get a copy of this message
> Couldn't this be done with just simple math functions? indeed: $a = 28.56018; $b = $a * 10 % 10 >> 0; Regards _________________________________________________________________ Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009

« previous php.general (#298865) next »