If you're doing a financial application, it's important that you address this correctly: fast but giving the wrong answer isn't an option.
I have worked on some systems where the front end gave one figure, but the back end reporting function gave another because this wasn't properly addressed.. As a financial application developer, it's surprising you weren't already aware of the inaccuracy of floating point. ----- Original Message ----- From: "ntasky" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com> Sent: Saturday, January 27, 2007 1:40 PM Subject: Re: [Flashcoders] math simple operation > hi, > well I'm trying to do a financial application, so it's going to be too heavy > to do additionnal operation > > N. > -- > Nicolas TASKY > conseil, analyse et développement multimédia > ntasky.com - (514) 839-6426 > > ----- Original Message ----- > From: "Hans Wichman" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com> > Sent: Saturday, January 27, 2007 8:22 AM > Subject: Re: [Flashcoders] math simple operation > > > Hi, > multiply everything with 1000 before, and divide by 1000 after?:) > greetz > JC > > > On 1/27/07, ntasky <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I'm kind of disapointed : > > trace (1.3-1) // traces:0.3 > > but : > > trace (9.3-9) // traces: 0.300000000000001 > > trace (100.3-100) //traces: 0.299999999999997 > > ... > > is there a way that it can traces always 0.3 has it should be normal ? > > > > thx > > > > N. > > > > -- > > Nicolas TASKY > > conseil, analyse et développement multimédia > > ntasky.com - (514) 839-6426 > > > > _______________________________________________ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com