Tom, running latest non-beta, the result is $4.58. Question: Why the double before the currency? I personally never retype variables, and Currency always rounds, so I would have done it in two steps:
SET VAR vAmtToRound CURRENCY = 50.43 SET VAR vCurTaxAmt CURRENCY = (.vAmtToRound/11) >>>>> Tom Grimshaw <[EMAIL PROTECTED]> wrote: >G'day, > >I appear to have a rounding issue with 6.5++ (latest beta). >Is it just me or can anyone else confirm that this number >appears to be being truncated rather than rounded please? > >SET VAR vAmtToRound CURRENCY = 50.43 >SET VAR vRawTaxAmt DOUBLE = (.vAmtToRound / 11) >SET VAR vCurTaxAmt DOUBLE = (ROUND(.vRawTaxAmt,2)) >SET VAR vCurTaxAmt CURRENCY >SHO VAR > >Warmest regards, > > >Tom Grimshaw >coy: � �Just For You Software >tel: � �612 9552 3311 >fax: � �612 9566 2164 >mobile: 0414 675 903 > >post: � PO Box 470 �Glebe �NSW �2037 �Australia >street: 3/66 Wentworth Park Rd �Glebe �NSW �2037 > >email: �[EMAIL PROTECTED] >web: www.just4usoftware.com.au > >"... the control of impulse -- is the first principle of civilization."-- >Will Durant, >Pulitzer Prize winning philosopher, writer and historian > >the most needed product in the world can be found at >www.thewaytohappiness.org > >This email and any files transmitted with it are confidential to the >intended recipient and may be privileged. If you have received this email >inadvertently or you are not the intended recipient, you may not >disseminate, distribute, copy or in any way rely on it. Further, you should >notify the sender immediately and delete the email from your computer. >Whilst we have taken precautions to alert us to the presence of computer >viruses, we cannot guarantee that this email and any files transmitted with >it are free from such viruses. > >================================================ >TO SEE MESSAGE POSTING GUIDELINES: >Send a plain text email to [EMAIL PROTECTED] >In the message body, put just two words: INTRO rbase-l >================================================ >TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] >In the message body, put just two words: UNSUBSCRIBE rbase-l >================================================ >TO SEARCH ARCHIVES: >http://www.mail-archive.com/rbase-l%40sonetmail.com/ > -- Albert Berry Full Time Consultant to PSD Solutions 350 West Hubbard, Suite 210 Chicago, IL 60610 312-828-9253 Ext. 32 __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: INTRO rbase-l ================================================ TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: UNSUBSCRIBE rbase-l ================================================ TO SEARCH ARCHIVES: http://www.mail-archive.com/rbase-l%40sonetmail.com/
