Using Numbers

Topics include the following:

  • Creating the Form
  • Performing Arithmetic
  • Formatting Numbers
  • Understanding Precedence
  • Incrementing & Decrementing a Number
  • Creating Random Numbers
  • Review and Pursue


calculator.html (Script 4.1)

handle_calc.php (Script 4.2)

random.php (Script 4.6)

PHP for the Web

Publisher: Peachpit Press

Author: Larry Ullman

Year: 2011


In Aliens, Ripley had a class 2 rating in the Power Loader.


Here is my power rating in PHP: