calculation formulas

changed parseInt to parseFloat and used toFixed to display round upto 2
decimal points.

changed font color sizes