2011/9/17 Bill Guion :
> On Sep 17, 2011, at 3:46 AM, Cyril Lopez wrote:
>
>> From: Cyril Lopez
>> Date: September 16, 2011 10:58:28 AM EDT
>> To: php-general@lists.php.net
>> Subject: Round with money_format
>>
>> Hi,
>>
>> Can someone help me understand how money_format() rounds numbers ?
>>
>>
On 17 September 2011 15:56, Bill Guion wrote:
> On Sep 17, 2011, at 3:46 AM, Cyril Lopez wrote:
>
>> From: Cyril Lopez
>> Date: September 16, 2011 10:58:28 AM EDT
>> To: php-general@lists.php.net
>> Subject: Round with money_format
>>
>> Hi,
>>
>> Can someone help me understand how money_format()
On Sep 17, 2011, at 3:46 AM, Cyril Lopez wrote:
> From: Cyril Lopez
> Date: September 16, 2011 10:58:28 AM EDT
> To: php-general@lists.php.net
> Subject: Round with money_format
>
> Hi,
>
> Can someone help me understand how money_format() rounds numbers ?
>
> setlocale(LC_ALL, 'fr_FR.UTF-8')
At 11:08 AM -0700 10/12/07, =?UTF-8?Q?J=C3=BCrgen_Wind?= wrote:
It's a question of what you expect from a rounding function.
If you work with reals on a computer you always have a bit of "fuzzynes"
due to the internal conversions from float to binary and resulting
truncations.
It is only "reals
tedd wrote:
>
> At 7:30 PM -0700 10/11/07, Instruct ICC wrote:
>>
>>
>>Now I see why BCMath was mentioned.
>
> Yes, but precision is not the issue.
>
> It doesn't make any difference if you are rounding.
>
> (a) 1.489123451985765
>
> or
>
> (b) 148912345198576.5
>
> You still have to make
5 matches
Mail list logo