[U2] [UD] PRECISION - not persisting

2006-05-31 Thread Simon Lewington
Unidata 7.1 on Win 2k The Unibasic PRECISION setting (eg 'PRECISION 6') is not persisting for called subroutines, but is falling back to its default of 4. eg SUBROUTINE TEST A=24127.14063 B=24127.14062 CRT (A=B) RETURN PROGRAM TEST1 PRECISION 6 CALL TEST This shows '1' showing that PRECISION 4

[U2] [UD] Precision

2004-11-30 Thread Shawn Waldie
I need some help from you payroll pros out here. Background: I've developed a subroutine that will read an externally-maintained dir-type file (insurance prem. table) for every employee when payroll is run. This table contains monthly insurance premiums for different types of covereage, i.e.,

RE: [U2] [UD] Precision

2004-11-30 Thread Derek Falkner
Falkner Kingston, Ontario, Canada -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Waldie Sent: Tuesday, November 30, 2004 2:24 PM To: [EMAIL PROTECTED] Subject: [U2] [UD] Precision I need some help from you payroll pros out here. snip -Based

RE: [U2] [UD] Precision

2004-11-30 Thread Kevin King
Define a little more rigorous? Other than some rounding/truncation issues, what exactly are you going for? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Waldie Sent: Tuesday, November 30, 2004 12:24 PM To: [EMAIL PROTECTED] Subject: [U2] [UD

RE: [U2] [UD] Precision

2004-11-30 Thread Allen E. Elwood
Sent: Tuesday, November 30, 2004 11:24 To: [EMAIL PROTECTED] Subject: [U2] [UD] Precision I need some help from you payroll pros out here. Background: I've developed a subroutine that will read an externally-maintained dir-type file (insurance prem. table) for every employee when payroll is run

Re: [U2] [UD] Precision

2004-11-30 Thread Don Verhagen
Maybe they are paid semi-monthly (24 periods) rather than Bi-weekly (26 periods). -- Donald Verhagen Application Development Manager [EMAIL PROTECTED] Tandem Staffing Solutions, Inc. 1690 S Congress Avenue, Suite 210 Delray Beach, FL 33445 USA Voice Phone: 561.454.3592 Fax Phone:

RE: [U2] [UD] Precision

2004-11-30 Thread Kevin Sheperdson
PROTECTED] Behalf Of Gyle Iverson Sent: Wednesday, December 01, 2004 7:44 AM To: [EMAIL PROTECTED] Subject: RE: [U2] [UD] Precision Hello, Shawn. There are some odd cent differences to account for in the monthly amount calculations. I used the Iconv() function to round the fractional cents

RE: [U2] [UD] Precision

2004-11-30 Thread Shawn Waldie
My thanks to all for the responses. Shawn -Original Message- From: Shawn Waldie Sent: Tuesday, November 30, 2004 1:37 PM To: [EMAIL PROTECTED] Subject: RE: [U2] [UD] Precision I see a strong potential for penny-creep here unless I add/truncate some zeros before/after I make