
416
|
Chapter 12: The Language Reference
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
• Repeatedly passing the same number to
Randomize does not cause Rnd to repeat
the same sequence of random numbers.
• If you need to repeat a sequence of random numbers, you should call the
Rnd
function with a negative number as an argument immediately prior to using
Randomize with any numeric argument.
See Also
Rnd Function
Rate Function
Class
Microsoft.VisualBasic.Financial
Syntax
Dim result As Double = Rate(nPer, pmt, pv[, fv[, due[, guess]]])
nPer (required; Double)
The total number of payment periods.
pmt (required; Double)
The payment amount per period.
pv (required; Double)
The present value of a series of future payments.
fv (optional; Double)
The future value or cash balance after the final payment. If omitted, the default
value is 0.
due (optional; DueDate enumeration)
A value indicating when payments are due, from the Microsoft.VisualBasic.
DueDate enumeration. DueDate.EndOfPeriod indicates that payments are due at
the end of the payment period; DueDate.BegOfPeriod indicates that payments are
due at the beginning of the period. If omitted, the default value is DueDate.
EndOfPeriod.
guess (optional; Double)
An estimate of the value to be returned by the function. If omitted, its value
defaults to 0.1 (that is, 10%).
Description
The Rate function calculates ...