home *** CD-ROM | disk | FTP | other *** search
- ********************
-
- FUNCTION Pv_con_str
-
- PARAMETERS _sstmoney, _sstrate, _sstmonths
-
- IF TYPE("_sstmoney") + TYPE("_sstrate") + TYPE("_sstmonths") != "NNN"
- RETURN(-1)
- ENDIF
-
- PRIVATE _ssttime, _sstint, _ssta, _sstb
-
- _ssttime = _sstmonths / 12
- _sstint = _sstrate / 100
- _ssta = _sstmoney /(LOG(_sstmoney + _sstint))
- _sstb = _sstmoney/((LOG(_sstmoney + _sstint)) * ((_sstmoney + _sstint)**_ssttime))
- RETURN(_ssta - _sstb)
-
- * End of File