How To Add a Column of Numbers Using AWK

Author: , January 1st, 2015

awk ‘{sum+=$1}END{print sum}’ inputFile

How To Sum the Values of Form Fields

Author: , October 3rd, 2012

How To Calculate The Number Of Days Between Dates In PHP

Author: , November 9th, 2011

http://www.php.net/manual/en/datetime.diff.php

How To Calculate The Floor Of a Number

Author: , December 11th, 2010

$floor = int( $number / $increment ) * $increment;