Showing content from http://mail.python.org/pipermail/python-dev/attachments/20080104/addaff87/attachment.htm below:
<div class="gmail_quote">On Jan 4, 2008 11:14 AM, Jeffrey Yasskin <<a href="mailto:jyasskin@gmail.com">jyasskin@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">On Jan 4, 2008 4:40 AM, Facundo Batista <<a href="mailto:facundobatista@gmail.com">facundobatista@gmail.com</a>> wrote:<br>> Do you mean that the response in the following case is of type "float"?:
<br>><br>> >>> round(decimal.Decimal("2.5"))<br>> 3.0<br><br></div>Yes.<br></blockquote><div><br class="webkit-block-placeholder"></div><div>That seems a little peculiar to me: wouldn't it be more natural to have round(Decimal_instance) return another Decimal?
</div><div><br></div><div>Mark</div></div>
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4