Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44331 > unrolled thread

Re: Libroffice PMT equivalent in python

Started byVlastimil Brom <vlastimil.brom@gmail.com>
First post2013-04-25 13:48 +0200
Last post2013-04-25 13:48 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Libroffice PMT equivalent in python Vlastimil Brom <vlastimil.brom@gmail.com> - 2013-04-25 13:48 +0200

#44331 — Re: Libroffice PMT equivalent in python

FromVlastimil Brom <vlastimil.brom@gmail.com>
Date2013-04-25 13:48 +0200
SubjectRe: Libroffice PMT equivalent in python
Message-ID<mailman.1056.1366890522.3114.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

2013/4/25 ஆமாச்சு <amachu@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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web