Mark Wilson I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :
03/24/2008
Times viewed :
377
JavaScript Math Object
Introduction
The Math object can be used to perform mathematical tasks.
It contains 16 functions, which can help you to calculate any value. These
functions are covered on an extra page. Please refer to this page for more
information about the functions. These functions can be for example used to
create a calculator in JavaScript. There are already tons of JavaScript
calculators on the net, which exactly uses these functions. Note that you
usually create an object with the keyword new to make use of it, however this
is an exception. You do not need to create an object of Math to use it. Instead
you use the math object of your own. The following example demonstrates the
usage.