if ($action == "true") {
print("You entered $feet feets, $inch inches, plus $frac1/$frac2 th of an inch.
");
if($frac2!=0) $euval=($feet*30.48)+($inch*2.54)+($frac1*2.54/$frac2);
if($frac2==0) $euval=($feet*30.48)+($inch*2.54);
print("in US writing= $feet' $inch $frac1/$frac2\"
in metric system = $euval centimeters
");
print("This equals to ".($euval*10)." milimeters
");
print("Use the table below for a new conversion
");
print("