Rate Function [VBA]

Returns the interest rate of a loan or an investment.

warning

यस k, कार्य वा वस्तुले प्रयोगयोग्य कार्यक्रम कोडमा एक मोड्युलमा प्रयोग गरिएको Option VBASupport 1 विधानसहितका अगाडि सक्षम गरिएको छ।


Syntax:


Rate( NPer as Double, Pmt as Double, PV as Double [FV as Variant], [Due as Variant], [Guess as Variant] )

Return value:

Double

Parameters:

NPER अवधिहरूको जम्मा सङ्ख्या हो। जुन वार्षिकी भुक्तानी गरिन्छ ।

PMT प्रति अवधि नियमित गरिएको भुक्तानी हो.

PV is the present value of the loan / investment.

FV (optional) is the future value of the loan / investment.

Due (optional) defines whether the payment is due at the beginning or the end of a period.

0 - the payment is due at the end of the period;

1 - the payment is due at the beginning of the period.

Guess(optional) determines the estimated value of the interest with iterative calculation.

त्रुटि सङ्केतहरू

5 अवैध कार्य-विधि कल

Example:


REM ***** BASIC *****
Option VBASupport 1
Sub ExampleRate
' Calculate the interest rate required to pay off a loan of $100,000 over
' 6 years, with payments of $1,500, due at the end of each month.
 Dim mRate As Double
 mRate = Rate( 72, -1500, 100000 )
 print mRate' mRate is calculated to be 0.00213778025343334
End sub

कृपया हामीलाई समर्थन गर्नुहोस्!