Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
strings (dollar.cents) into floats
- From: dhwild at talktalk.net (David H Wild)
- Subject: strings (dollar.cents) into floats
- Date: Fri, 31 Aug 2007 17:39:02 +0100
In article <mailman.218.1188577696.28954.python-list at python.org>, Chris Mellon <arkanes at gmail.com> wrote: > I believe that to the degree that "real" accounting was done in those > currencies it did in fact use non-decimal bases. Just as people don't > use decimal time values (except us crazy computer folk), you're write > 1 pound 4 shillings, not 1.333... pounds. When I worked on the British Railways National Payroll system, about 35 years ago, we, in common with many large users, wrote our system to deal with integer amounts of pennies, and converted to pounds, shillings and pence in the output part of the system. -- David Wild using RISC OS on broadband www.davidhwild.me.uk
- Follow-Ups:
- strings (dollar.cents) into floats
- From: MRAB
- strings (dollar.cents) into floats
- References:
- strings (dollar.cents) into floats
- From: Ben Finney
- strings (dollar.cents) into floats
- From: Wildemar Wildenburger
- strings (dollar.cents) into floats
- From: sturlamolden
- strings (dollar.cents) into floats
- From: Steve Holden
- strings (dollar.cents) into floats
- Prev by Date: So what exactly is a complex number?
- Next by Date: escaping only double quotes
- Previous by thread: strings (dollar.cents) into floats
- Next by thread: strings (dollar.cents) into floats
- Index(es):