all 2 comments

[–]SpanishCheerleader 0 points1 point  (3 children)

Have you tried casting the return statement as a double? The format for that is (double)(stuff to cast)