Type Here to Get Search Results !

Welcome To FreeSiteTools

Length Calculator Tool Code

 



<script type="text/javascript">

function checnum(as)

{

var dd = as.value;

if(isNaN(dd))

{

dd = dd.substring(0,(dd.length-1));

as.value = dd;

}

} function inchconv(val){

with(document.conv){

cm.value = (Math.round(inch.value*2.54)).toFixed(2);

feet.value=(Math.round(inch.value/12)).toFixed(2);

var tmp=(inch.value* 2.54)*Math.pow(10,-5);

kilo.value=((inch.value* 2.54)*Math.pow(10,-5)).toFixed(2);

miles.value=((inch.value*1.58)*Math.pow(10,-5)).toFixed(2);

} }

function feetconv(val){

with(document.conv){

cm.value=(Math.round(feet.value*30.48)).toFixed(2);

inch.value=(Math.round(feet.value*12)).toFixed(2);

kilo.value=((feet.value* 3.05)*Math.pow(10,-4)).toFixed(2);

miles.value==((feet.value*1.8900000000000001)*Math.pow(10,-4)).toFixed(2);

} } function cmconv(val){

with(document.conv){

feet.value = (Math.round(cm.value/30.84)).toFixed(2);

inch.value = (Math.round(cm.value/2.54)).toFixed(2);

kilo.value=((cm.value*1)*Math.pow(10,-5)).toFixed(2);

miles.value==((cm.value*6.21)*Math.pow(10,-6)).toFixed(2);

} } function kiloconv(val){

with(document.conv){

feet.value = ((kilo.value*3.28)*Math.pow(10,3)).toFixed(2);

inch.value = ((kilo.value*3.94)*Math.pow(10,4)).toFixed(2);

cm.value=((kilo.value*1)*Math.pow(10,5)).toFixed(2);

miles.value=((kilo.value* 0.621)).toFixed(2);

} } function milesconv(val){

with(document.conv){

feet.value =((miles.value* 5.28)*Math.pow(10,3)).toFixed(2);

inch.value = ((miles.value*6.34)*Math.pow(10,4)).toFixed(2);

cm.value=((miles.value*1.61)*Math.pow(10,5)).toFixed(2);

kilo.value=((miles.value*1.61)).toFixed(2);

} } </script>



<form name=conv>

<table style='border:gray solid 7px;font-size:18px'width=220 height=50>

<tr>

<td>Length calculator</td>

<td align=right><a style='font-size:18px; text-decoration:none; color:#3D366F;cursor:pointer' href='https://www.emexee.com'></a></td></tr>

<tr><td align=center><input onkeyUp="checnum(this);inchconv();" value=1 name=inch></td><td>inch</td></tr>

<tr><td align=center><input

onkeyUp="checnum(this);cmconv();" value=2.25 name=cm

></td><td>cm</td></tr>

<tr><td align=center><input onkeyUp="checnum(this);feetconv();" value=0 name=feet

></td><td>feet</td></tr>

<tr><td align=center><input onkeyUp="checnum(this);kiloconv();" value=0 name=kilo ></td><td>kilo</td></tr>

<tr><td align=center><input onkeyUp="checnum(this);milesconv();" value=0 name=miles></td><td>Miles</td></tr>

</table> </form> <br>




How To Use These Code ?

Just copy these above following code and paste in your blogger or wordpress website post in HTML view.


S.NO All SEO And Other Tools Name Download Buttons Demo Buttons
1. Instagram Hashtag Finder Tool
2. Fancy Text Generator Tool
3. Logo & Favicon Maker Tool
4. iFrame Generator Tool
5. Age Calculator Tool
6. Hex Color Picker Tool
7. Youtube Video Downloader Tool
8. Meta Tag Generator Tool
9. QR Code Maker Tool
10. Privacy & Policy Generator Tool
11. Terms & Conditions Generator Tool
12. About Us Page Generator Tool
13. Youtube Thumbnail Downloader Tool
14. HTML To XML Converter Tool
15. Gradient Color Code Picker Tool

Click Here To Get More Tools