Andrew, Avoid Currency like the plague and make sure "set decimals" is set correctly
Dave Crozier The secret to staying young is to live honestly, eat slowly, and to lie about your age -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Stirling Sent: 24 July 2006 20:59 To: [email protected] Subject: searching for a penny Spent a LOT of time trying to find a error. ? 6313*.22 && =1388.86 however I need to work to 4 dec points thus ? INT(6313.0000 * 22.00/100*10000)/10000 && =1388.8599 Which I FLOOR to 1388.85 once I found the prob, fixed it by multiplying first thus ? INT(10000*6313.0000*22.00/100)/10000 && =1388.8600 -- Andrew Stirling 01250 874580 http://www.calcpay.co.uk HMRC Accredited UK payroll program [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

