In this unit, simple examples of using JavaScript to carry out some caclulation are shown.
Please use View Page Source to see the source file and the JavaScript.
Example 1: inch to meter conversion
Example2: Decimal to Binary/Octal/Hexadecimal
For example, the following script is from JavaScript Kit.