FinancePresentValue Method Mathos Core Library 1.0.5.1 (changeset 39720)
This documentation is compiled for the latest release of Mathos Core Library
Calculates the present value of the futureValue for a specified rateOfReturn over numberOfPeriods periods.

Namespace: Mathos.Finance
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax

public static decimal PresentValue(
	decimal futureValue,
	decimal rateOfReturn,
	int numberOfPeriods,
	bool round = true
)

Parameters

futureValue
Type: SystemDecimal
Future value (ex 100)
rateOfReturn
Type: SystemDecimal
Rate of return (ex 6 for 6%)
numberOfPeriods
Type: SystemInt32
Number of periods
round (Optional)
Type: SystemBoolean
Determines whether the result is rounded to 2 decimal places

Return Value

Type: Decimal
Present value
See Also

Reference