<?
$in = $_REQUEST[in];
$places = $_REQUEST[places];
if ( isset($in) )
{ $out = round($in, $places); }
else
{ $round = ""; }
?>
<html>
<body bgcolor="#fad888">
<center>
<form>
Round <input type="text" name="in" cols="7" value="<? echo $in;?>" /> to
<input type="text" name="places" cols="7" value="<? echo $places;?>" /> Places<br />
<input type="submit" value="Round">
<input type="text" value="<? echo $out; ?>" cols="7" />
</center>
</form>
</body>
</html>