Libroffice PMT equivalent in python
Vlastimil Brom
vlastimil.brom at gmail.com
Thu Apr 25 07:48:39 EDT 2013
2013/4/25 ஆமாச்சு <amachu at amachu.me>
> Hi,
>
> Are there equivalent in any Python libraries that could match function
> like PMT in libreoffice?
>
> Refer: https://help.libreoffice.org/Calc/Financial_Functions_Part_Two#PMT
>
> --
>
> Amachu
> --
> http://mail.python.org/mailman/listinfo/python-list
>
Hi,
you may check numpy
http://www.numpy.org/
http://docs.scipy.org/doc/numpy/reference/generated/numpy.pmt.html
>>> import numpy
>>> numpy.pmt(1.99/100/12,36,25000)
-715.95533443739942
>>>
(The input in percent is to be divided by 100 and the output could be
rounded separately, if needed.)
hth,
vbr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130425/0f7fa2cb/attachment.html>
More information about the Python-list
mailing list