Length Calculator or Unit Conversion in javascript
This is a Length calculator or unit conversion script, which converts any of the entered unit(inches, feet, centimeter, kilometer, mile) to all other units including inches(in), feet(ft), centimeter(cm), kilometer(km), mile(mile).
Features
The javascript function will help you to calculate or convert inches(in) to feet(ft),centimeter(cm), kilometer(km),mile and vice versa.
If you change the value for particular unit, conversion is automatically done for all other units.
The value is rounded to two decimal point.
Just copy the code in to your page and use it.
Preview
Length calculator or Unit Conversion script
Downloads
Javascript Code
<!-- Script by hscripts.com --> <script type="text/javascript"> function checnum(as) { var dd = as.value;
The javascript function inchconv(), cmconv(), feetconv(), kiloconv(), milesconv() is triggered and Length or Unit conversion is done when key is released in the appropriate field.
Just copy the javascript code and use it for free.