I\'m writing a function that calculates the value of PI, and returns it as a double. So far so good. But once the function gets to 14 digits after the decimal place, it can\
You can use the J# BigDecimal type, as suggested in this answer.
BigDecimal