Math operations : Math « Math « PHP






Math operations

 
<?
print 2 + 2;
print 17 - 3.5;
print 10 / 3;
print 6 * 9;
?>
  
  








Related examples in the same category

1.Create and use a simple static Math() class
2.Math calculation
3.Mathematical constants
4.Hyperbolic Functions