Was checking where I commented on the typo and could see a couple more void returns that should also return double. They are towards the top of the post.
Oh jeez - I checked the writing for typos but not the code - thanks again :]
No worries. It doesn't take anything away from such a good post, and I'll look forward to reading more of your work. Cheers.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.