basically, because number.round() is much shorter to type than  
Math.round(number).  :)

-Thomas

Am 18.01.2008 um 23:49 schrieb Tobie Langel:

>
>
>> Then the question is, why do it for the Math functions but not the
>> String functions?
>
> AFAIK, because the Math ones were needed for script.aculo.us code.
>
> Best,
>
> Tobie
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google  
> Groups "Prototype: Core" group.
> To post to this group, send email to prototype-core@googlegroups.com
> To unsubscribe from this group, send email to [EMAIL PROTECTED]
> For more options, visit this group at http://groups.google.com/group/prototype


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to