Es-discuss - several decimal discussions

Mark S. Miller erights at google.com
Mon Aug 25 13:59:58 PDT 2008


On Mon, Aug 25, 2008 at 1:20 PM, Brendan Eich <brendan at mozilla.org> wrote:
> (I will help on identical/hashcode, btw -- think we're agreeing vehemently
> ;-).)

;) !!

On Mon, Aug 25, 2008 at 1:20 PM, Brendan Eich <brendan at mozilla.org> wrote:
> On Aug 25, 2008, at 6:45 AM, Mark S. Miller wrote:
>> What is it you and Sam are agreeing about? I lost track.
>
> That if we make cohort members == and ===, telling anyone who still wants to
> distinguish 1.0m from 1.00m to use compareTotal is "good enough".

I agree with this if-then, but why not recommend Object.identical instead?

In any case, is there any general agreement about *whether* 1.0m ==
1.00m or 1.0m === 1.00m? This is where I lost track.


-- 
    Cheers,
    --MarkM


More information about the Es-discuss mailing list