Skip to content

Instantly share code, notes, and snippets.

@alganet
Created March 21, 2012 13:17
Show Gist options
  • Save alganet/2146828 to your computer and use it in GitHub Desktop.
Save alganet/2146828 to your computer and use it in GitHub Desktop.
Sample for Respect\Doc

Example 1:

$math = new Math;
$balance = 12.30;
$deposit = 1.70;
$total = $math->sum($balance, $deposit);

In the sample above, the $total variable will be 14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment