Ryan,
With double, precision should not be an issue - usually "money" datatype is limited to 18 digits and in most practical applications is limited to 11-12 digits. If you work with doubles (16+ correct digits) t would take quite a few operations to get precision under 12 digits. In terms of individual operations, in order to get 1 cent rounding error for the original case
1.9199999999999999289457264239899814128875732421875 * amount, the amount has to be over
50000000000000.
You decide if it is practical or not
Regards,
Anatole
On 8/17/06, ryanm <[EMAIL PROTECTED]> wrote:
> Apparently you acknowledge that it would work but need to keep BigDecimal
> for other reasons.
>I get the impresson that they want some calculations to be done "real
time" on the client, and for that a BigDecimal object would be needed in the
client as well as on the server.
ryanm
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Software development tool Software development Software development services Home design software Software development company
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- Re: [flexcoders] Re: decimal numbers in financial appl... Anatole Tartakovsky
- Re: [SPAM] Re: [flexcoders] Re: decimal numbers i... ryanm
- Re: [SPAM] Re: [flexcoders] Re: decimal numbe... Anatole Tartakovsky
- Re: [SPAM] Re: [flexcoders] Re: decimal n... Samuel D. Colak
- RE: [SPAM] Re: [flexcoders] Re: decim... Gordon Smith
- Re: [SPAM] Re: [flexcoders] Re: ... Samuel D. Colak
- RE: [SPAM] Re: [flexcoders] ... Gordon Smith
Reply via email to