21 Dec 2013 by Peter Leow
Your formula for standard deviation seems odd, you may want to check with google. However, that is not issue here.You should only do the formatting on the return double value in the calling method not in the called method. See the changes below, I am assuming you want double with 2 decimal...