function convert() { document.getElementById("theAnswer").value=document.getElementById("theInput").value*2.54; }
แปลงจาก นิ้ว = เซนติเมตร (cm)