Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42330
| Date | 2013-03-30 15:02 +0530 |
|---|---|
| From | ஆமாச்சு <amachu@amachu.me> |
| Subject | Re: round off to two decimal & return float |
| References | <515699DB.8060104@amachu.me> <CALk2KRU37Ri-EfwGKZK3MR-MHBoCuvx1u6DDj7BqBcav+9OqCA@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3992.1364636123.2939.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
On Saturday 30 March 2013 02:58 PM, Roland Mueller wrote: > > > > I assume you have a numeric value a and want to have a float with 2 > decimals. This can be achieved with the function round(): But I need 10.00 and not 10.0
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: round off to two decimal & return float ஆமாச்சு <amachu@amachu.me> - 2013-03-30 15:02 +0530 Re: round off to two decimal & return float Grant Edwards <invalid@invalid.invalid> - 2013-03-30 13:36 +0000
csiph-web