On 20/02/2007, at 3:27 PM, Gareth Edwards wrote: > Sorry to complain about it,
Don't worry, you were somewhat provoked over the course of the thread (I would recommend the more frequent posters on cfaussie buy a copy of "Parent Effectiveness Training" by Dr. Thomas R. Gordon ISBN 0609806939 to find out how to peacefully turn a confrontation into a win/win situation for everyone), the original question was fair enough :) > it just seems strange, I won't complain anymore. Does it do the > same thing in Actionscript? (don't have time to check right now) It should. > What do you think is the best way to handle this in coldfusion? If you only wanted to nearest 0.00001 you could say: nice = round(possiblyyuck * 100000) / 100000 > Also, I'm curious, how many people on this list are aware of this > issue? Developers doing floating point calculations in any programming language comes across it sooner or later - on a digital computer*. Cheers, Robin * The only mechanical computer I've seen (not working) that wouldn't run into this is the _analog_ computer that used to be in the basement of the computer science faculty at Sydney Uni, preserved by the late Prof. Alan Bromley. This was the sort of thing they used for the Apollo program - it looked like a big grey tote board - you'd actually wire up a differential equation with patch leads, set the inputs using dials, the current would flow and you'd read the results from an oscilloscope. ______________ Robin Hilliard Director - RocketBoots Pty Ltd Consulting . Recruitment . Software Licensing . Training http://www.rocketboots.com.au For schedule/availability call Pamela Higgins: w +61 7 5451 0362 m +61 419 677 151 f +61 3 9923 6261 e [EMAIL PROTECTED] or Direct: m +61 418 414 341 e [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---