<? $r = 10.2 - 8.1; echo $r-2.1; ?>
<html> <body> <script language="JavaScript"> q = 10.2 - 8.1; document.write(q - 2.1); </script> </body> </html>