I searched for a library of common Financial Functions, but came up blank (maybe there's already one there, but I couldn't find it). So, here's my version. I hope you find it useful.
Function
Description
PresentValue
Returns the total amount that a series of future payments is worth now...