Re: [U2] how to round to 2 decimals?

2010-10-14 Thread John Woollam
Hi

I've always used 'R2'

e.g. ANS = N1 * N2 'R2'

No scaling, just rounding

Regards

John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
Perkins PLC  |  01604 682751
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
Sent: 13 October 2010 22:22
To: u2-users@listserver.u2ug.org
Subject: [U2] how to round to 2 decimals?


I'm trying to figure out how to round to 2 decimal places with a
floating point in UniVerse

For example 2596 x 8.333 = 21,632.468

How would you round that in UniVerse to 21,632.47?

Thanks!
  
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

html
head
meta http-equiv=Content-type content=text/html; charset=UTF-8
/head
body
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and any 
attachments are confidential and intended solely for the use of the addressee 
only. If you have received this message in error, you must not copy, distribute 
or disclose the contents; please notify the sender immediately and delete the 
message. /SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is 
attributed to the sender and may not necessarily reflect the view of Travis 
Perkins plc or its subsidiaries (Travis Perkins). Agreements binding Travis 
Perkins may not be concluded by means of e-mail communication. /SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail transmissions are 
not secure and Travis Perkins accepts no responsibility for changes made to 
this 
message after it was sent. Whilst steps have been taken to ensure that this 
message is virus free, Travis Perkins accepts no liability for infection and 
recommends that you scan this e-mail and any attachments. /SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'Part of Travis Perkins 
plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, 
Northampton, NN5 7UG. /SPAN/P
/BODY
/HTML

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Cloud UniVerse

2010-10-14 Thread Augusto Alonso
Hi all.
I have a doubt about this.

What happens if I have this scenario:
- 2 linux boxes with universe installed. Both the same license, but only the
active server has Universe started.
- a unique shared hard disk that holds my DataBase.
- In case of shutdown of the active server, the heartbeat software takes the
control and  starts Universe on the standby server.

According to the fact that the Program has not been started, it should be
considered Cold.
But according to the fact that I am using a software called heartbeat,
shuld it be considered Hot?

Does anybody know wich is the right consideration?
Thanks
--
Augusto Alonso Alonso
Director de Sistemas
QUITER SERVICIOS CENTRALES
Zoco Gran Santander, 1ª planta - 39011 Santander - España
Telf: +34 902233323 - Fax: +34 902234280

AVISO LEGAL: Este mensaje contiene información destinada exclusivamente al
usuario de destino, pudiendo contener información confidencial o protegida
legalmente. Si, por un error de envío o transmisión, ha recibido este
mensaje y usted no es el destinatario del mismo, por favor, notifique de
este hecho al remitente y no use, informe, distribuya, imprima, copie o
difunda este mensaje bajo ningún medio . Cualquier opinión en él contenida,
es exclusiva de su autor y no representa necesariamente la opinión de Quiter
Servicios Centrales.

LEGAL WARNING: This e-mail and any attachment, contain information intended
solely for the addressee and may contain confidential information or legally
protected data. If you are not the intended recipient, please notify the
sender and do not use, disclose, distribute, copy, print or rely on this
e-mail under any circumstances. The views and opinions expressed are the
author´s own and do not necessarily reflect those of Quiter Servicios
Centrales.



2010/10/7 Bill Brutzman bi...@hkmetalcraft.com

 The following is what I received from RS...

 License Types
 Rocket U2 offers several types of disaster recovery licenses as described
 in this document: Backup (Cold, Warm, Standby, and Hot). Primary licenses
 and Hot Backup licenses are interchangeable. License types cannot be changed
 after initial licensing.

 Cold
 A copy of the Program may be stored for backup purposes on a machine as
 long as the Program has not been started. There is no additional charge for
 this copy.

 Warm
 A copy of the Program may reside for backup purposes on a machine. It may
 be started, but is idling, and is not doing any work of any kind. There is
 no additional charge for this copy.

 Standby
 A copy of the Program may reside for backup purposes on a machine. It may
 be started but may not be doing work. A Standby license provides for rapid
 failover and can mirror data, update files, and synchronize programs, data
 or other resources as well as periodic failover testing. It cannot be used
 for production, development, solution testing, program maintenance,
 reporting or other operational uses. A Standby license is currently
 available at a 75% off the SRP (except U2.NET which has a different
 pricing structure) and must mirror the primary license in number of users,
 features, and maintenance status. A Standby license cannot be converted,
 consolidated or distributed to a non-Standby license. Applicable ISV
 contract discounts apply.

 Hot
 A copy of the Program may reside for backup purposes on a machine. It may
 be started, and is doing work. However, this Program must be ordered, and
 there is a charge for this copy.
 Doing work, includes, for example, production, development, program
 maintenance, and testing. It also could include other activities such as
 mirroring of transactions, updating of files, synchronization of programs,
 data or other resources (for example, active linking with another machine,
 program, database or other resource, and so on), or any activity or
 configurations that would allow an active hot switch or other synchronized
 switch over between programs, databases, or other resources to occur.
 In the case of a program or system configuration that is designed to
 support a high availability environment by using various techniques (e.g.
 duplexing, mirroring of files or transactions, maintaining a heartbeat,
 active linking with another machine, program, data base or other resource,
 etc.), the program is considered to be doing work in both the hot and
 standby situations and a use authorization is required and a charge
 applies.
 A scheduled hardware outage, such as preventive maintenance or installation
 of upgrades, is not considered a backup situation. However, the same
 guidelines apply. In addition, the outage should not be scheduled during
 peak (e.g. end-of-month) processing times if the program has a
 capacity-based charging metric and the secondary machine has more capacity
 than the primary machine.
 A Hot backup license is equivalent to a production license.


 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 

Re: [U2] how to round to 2 decimals?

2010-10-14 Thread Larry Hiscock
Does UniVerse not support the DROUND() function?  

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
Sent: Thursday, October 14, 2010 1:02 AM
To: U2 Users List
Subject: Re: [U2] how to round to 2 decimals?

Hi

I've always used 'R2'

e.g. ANS = N1 * N2 'R2'

No scaling, just rounding

Regards

John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
Perkins PLC  |  01604 682751
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
Sent: 13 October 2010 22:22
To: u2-users@listserver.u2ug.org
Subject: [U2] how to round to 2 decimals?


I'm trying to figure out how to round to 2 decimal places with a
floating point in UniVerse

For example 2596 x 8.333 = 21,632.468

How would you round that in UniVerse to 21,632.47?

Thanks!
  
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

html
head
meta http-equiv=Content-type content=text/html; charset=UTF-8
/head
body
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and any 
attachments are confidential and intended solely for the use of the
addressee 
only. If you have received this message in error, you must not copy,
distribute 
or disclose the contents; please notify the sender immediately and delete
the 
message. /SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is 
attributed to the sender and may not necessarily reflect the view of Travis 
Perkins plc or its subsidiaries (Travis Perkins). Agreements binding Travis 
Perkins may not be concluded by means of e-mail communication. /SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail transmissions
are 
not secure and Travis Perkins accepts no responsibility for changes made to
this 
message after it was sent. Whilst steps have been taken to ensure that this 
message is virus free, Travis Perkins accepts no liability for infection and

recommends that you scan this e-mail and any attachments. /SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'Part of Travis
Perkins 
plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, 
Northampton, NN5 7UG. /SPAN/P
/BODY
/HTML

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] how to round to 2 decimals?

2010-10-14 Thread John Woollam
Hi

Never heard of the DROUND() function in Universe.

Anyway, why would I want to use a function syntax when I can do

ANS = N1 * N2 'R2' and it is the answer that gets rounded?
Easy to write.
Easy to read...

John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
Perkins PLC  |  01604 682751

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
Sent: 14 October 2010 16:49
To: 'U2 Users List'
Subject: Re: [U2] how to round to 2 decimals?

Does UniVerse not support the DROUND() function?  

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
Sent: Thursday, October 14, 2010 1:02 AM
To: U2 Users List
Subject: Re: [U2] how to round to 2 decimals?

Hi

I've always used 'R2'

e.g. ANS = N1 * N2 'R2'

No scaling, just rounding

Regards

John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
Perkins PLC  |  01604 682751
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
Sent: 13 October 2010 22:22
To: u2-users@listserver.u2ug.org
Subject: [U2] how to round to 2 decimals?


I'm trying to figure out how to round to 2 decimal places with a
floating point in UniVerse

For example 2596 x 8.333 = 21,632.468

How would you round that in UniVerse to 21,632.47?

Thanks!
  
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

html
head
meta http-equiv=Content-type content=text/html; charset=UTF-8
/head
body
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and
any 
attachments are confidential and intended solely for the use of the
addressee 
only. If you have received this message in error, you must not copy,
distribute 
or disclose the contents; please notify the sender immediately and
delete
the 
message. /SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is 
attributed to the sender and may not necessarily reflect the view of
Travis 
Perkins plc or its subsidiaries (Travis Perkins). Agreements binding
Travis 
Perkins may not be concluded by means of e-mail communication.
/SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail
transmissions
are 
not secure and Travis Perkins accepts no responsibility for changes made
to
this 
message after it was sent. Whilst steps have been taken to ensure that
this 
message is virus free, Travis Perkins accepts no liability for infection
and

recommends that you scan this e-mail and any attachments. /SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'Part of Travis
Perkins 
plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, 
Northampton, NN5 7UG. /SPAN/P
/BODY
/HTML

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

html
head
meta http-equiv=Content-type content=text/html; charset=UTF-8
/head
body
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and any 
attachments are confidential and intended solely for the use of the addressee 
only. If you have received this message in error, you must not copy, distribute 
or disclose the contents; please notify the sender immediately and delete the 
message. /SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is 
attributed to the sender and may not necessarily reflect the view of Travis 
Perkins plc or its subsidiaries (Travis Perkins). Agreements binding Travis 
Perkins may not be concluded by means of e-mail communication. /SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail transmissions are 
not secure and Travis Perkins accepts no responsibility for changes made to 
this 
message after it was sent. Whilst steps have been taken to ensure that this 
message is virus free, Travis Perkins accepts no liability for infection and 
recommends that you scan this e-mail and any attachments. /SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'Part of Travis Perkins 
plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, 
Northampton, NN5 7UG. /SPAN/P
/BODY
/HTML

___
U2-Users mailing list

Re: [U2] how to round to 2 decimals?

2010-10-14 Thread Larry Hiscock
What's so difficult about ANS = DROUND(N1 * N2, 2) ?


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
Sent: Thursday, October 14, 2010 8:59 AM
To: U2 Users List
Subject: Re: [U2] how to round to 2 decimals?

Hi

Never heard of the DROUND() function in Universe.

Anyway, why would I want to use a function syntax when I can do

ANS = N1 * N2 'R2' and it is the answer that gets rounded?
Easy to write.
Easy to read...

John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
Perkins PLC  |  01604 682751

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
Sent: 14 October 2010 16:49
To: 'U2 Users List'
Subject: Re: [U2] how to round to 2 decimals?

Does UniVerse not support the DROUND() function?  

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
Sent: Thursday, October 14, 2010 1:02 AM
To: U2 Users List
Subject: Re: [U2] how to round to 2 decimals?

Hi

I've always used 'R2'

e.g. ANS = N1 * N2 'R2'

No scaling, just rounding

Regards

John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
Perkins PLC  |  01604 682751
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
Sent: 13 October 2010 22:22
To: u2-users@listserver.u2ug.org
Subject: [U2] how to round to 2 decimals?


I'm trying to figure out how to round to 2 decimal places with a
floating point in UniVerse

For example 2596 x 8.333 = 21,632.468

How would you round that in UniVerse to 21,632.47?

Thanks!
  
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

html
head
meta http-equiv=Content-type content=text/html; charset=UTF-8
/head
body
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and
any 
attachments are confidential and intended solely for the use of the
addressee 
only. If you have received this message in error, you must not copy,
distribute 
or disclose the contents; please notify the sender immediately and
delete
the 
message. /SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is 
attributed to the sender and may not necessarily reflect the view of
Travis 
Perkins plc or its subsidiaries (Travis Perkins). Agreements binding
Travis 
Perkins may not be concluded by means of e-mail communication.
/SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail
transmissions
are 
not secure and Travis Perkins accepts no responsibility for changes made
to
this 
message after it was sent. Whilst steps have been taken to ensure that
this 
message is virus free, Travis Perkins accepts no liability for infection
and

recommends that you scan this e-mail and any attachments. /SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'Part of Travis
Perkins 
plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, 
Northampton, NN5 7UG. /SPAN/P
/BODY
/HTML

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

html
head
meta http-equiv=Content-type content=text/html; charset=UTF-8
/head
body
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and any 
attachments are confidential and intended solely for the use of the
addressee 
only. If you have received this message in error, you must not copy,
distribute 
or disclose the contents; please notify the sender immediately and delete
the 
message. /SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is 
attributed to the sender and may not necessarily reflect the view of Travis 
Perkins plc or its subsidiaries (Travis Perkins). Agreements binding Travis 
Perkins may not be concluded by means of e-mail communication. /SPAN/P
P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail transmissions
are 
not secure and Travis Perkins accepts no responsibility for changes made to
this 
message after it was sent. Whilst steps have been taken to ensure that this 
message is virus free, Travis Perkins accepts no liability for infection and

recommends that you scan this e-mail and any attachments. /SPAN/P
P 

Re: [U2] how to round to 2 decimals?

2010-10-14 Thread Chris Austin

What's the diff between

 OCONV(X,'MR20') and DROUND(X,2) ??

where X = N1 * N2



 From: lar...@wcs-corp.com
 To: u2-users@listserver.u2ug.org
 Date: Thu, 14 Oct 2010 09:25:23 -0700
 Subject: Re: [U2] how to round to 2 decimals?
 
 What's so difficult about ANS = DROUND(N1 * N2, 2) ?
 
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
 Sent: Thursday, October 14, 2010 8:59 AM
 To: U2 Users List
 Subject: Re: [U2] how to round to 2 decimals?
 
 Hi
 
 Never heard of the DROUND() function in Universe.
 
 Anyway, why would I want to use a function syntax when I can do
 
 ANS = N1 * N2 'R2' and it is the answer that gets rounded?
 Easy to write.
 Easy to read...
 
 John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
 Perkins PLC  |  01604 682751
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
 Sent: 14 October 2010 16:49
 To: 'U2 Users List'
 Subject: Re: [U2] how to round to 2 decimals?
 
 Does UniVerse not support the DROUND() function?  
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
 Sent: Thursday, October 14, 2010 1:02 AM
 To: U2 Users List
 Subject: Re: [U2] how to round to 2 decimals?
 
 Hi
 
 I've always used 'R2'
 
 e.g. ANS = N1 * N2 'R2'
 
 No scaling, just rounding
 
 Regards
 
 John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
 Perkins PLC  |  01604 682751
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
 Sent: 13 October 2010 22:22
 To: u2-users@listserver.u2ug.org
 Subject: [U2] how to round to 2 decimals?
 
 
 I'm trying to figure out how to round to 2 decimal places with a
 floating point in UniVerse
 
 For example 2596 x 8.333 = 21,632.468
 
 How would you round that in UniVerse to 21,632.47?
 
 Thanks!
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 html
 head
 meta http-equiv=Content-type content=text/html; charset=UTF-8
 /head
 body
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and
 any 
 attachments are confidential and intended solely for the use of the
 addressee 
 only. If you have received this message in error, you must not copy,
 distribute 
 or disclose the contents; please notify the sender immediately and
 delete
 the 
 message. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is 
 attributed to the sender and may not necessarily reflect the view of
 Travis 
 Perkins plc or its subsidiaries (Travis Perkins). Agreements binding
 Travis 
 Perkins may not be concluded by means of e-mail communication.
 /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail
 transmissions
 are 
 not secure and Travis Perkins accepts no responsibility for changes made
 to
 this 
 message after it was sent. Whilst steps have been taken to ensure that
 this 
 message is virus free, Travis Perkins accepts no liability for infection
 and
 
 recommends that you scan this e-mail and any attachments. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'Part of Travis
 Perkins 
 plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, 
 Northampton, NN5 7UG. /SPAN/P
 /BODY
 /HTML
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 html
 head
 meta http-equiv=Content-type content=text/html; charset=UTF-8
 /head
 body
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and any 
 attachments are confidential and intended solely for the use of the
 addressee 
 only. If you have received this message in error, you must not copy,
 distribute 
 or disclose the contents; please notify the sender immediately and delete
 the 
 message. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is 
 attributed to the sender and may not necessarily reflect the view of Travis 
 Perkins plc or its subsidiaries (Travis Perkins). Agreements binding Travis 
 Perkins may not be concluded by means of e-mail communication. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 

Re: [U2] how to round to 2 decimals?

2010-10-14 Thread Chris Austin

Are you sure DROUND() is a UniVerse function?

When I do the following code:

X = 2596 * 8.333
*
PRINT DROUND(X,2)

I get the following error:

Array 'DROUND' never dimensioned.


 From: lar...@wcs-corp.com
 To: u2-users@listserver.u2ug.org
 Date: Thu, 14 Oct 2010 09:25:23 -0700
 Subject: Re: [U2] how to round to 2 decimals?
 
 What's so difficult about ANS = DROUND(N1 * N2, 2) ?
 
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
 Sent: Thursday, October 14, 2010 8:59 AM
 To: U2 Users List
 Subject: Re: [U2] how to round to 2 decimals?
 
 Hi
 
 Never heard of the DROUND() function in Universe.
 
 Anyway, why would I want to use a function syntax when I can do
 
 ANS = N1 * N2 'R2' and it is the answer that gets rounded?
 Easy to write.
 Easy to read...
 
 John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
 Perkins PLC  |  01604 682751
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
 Sent: 14 October 2010 16:49
 To: 'U2 Users List'
 Subject: Re: [U2] how to round to 2 decimals?
 
 Does UniVerse not support the DROUND() function?  
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
 Sent: Thursday, October 14, 2010 1:02 AM
 To: U2 Users List
 Subject: Re: [U2] how to round to 2 decimals?
 
 Hi
 
 I've always used 'R2'
 
 e.g. ANS = N1 * N2 'R2'
 
 No scaling, just rounding
 
 Regards
 
 John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
 Perkins PLC  |  01604 682751
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
 Sent: 13 October 2010 22:22
 To: u2-users@listserver.u2ug.org
 Subject: [U2] how to round to 2 decimals?
 
 
 I'm trying to figure out how to round to 2 decimal places with a
 floating point in UniVerse
 
 For example 2596 x 8.333 = 21,632.468
 
 How would you round that in UniVerse to 21,632.47?
 
 Thanks!
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 html
 head
 meta http-equiv=Content-type content=text/html; charset=UTF-8
 /head
 body
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and
 any 
 attachments are confidential and intended solely for the use of the
 addressee 
 only. If you have received this message in error, you must not copy,
 distribute 
 or disclose the contents; please notify the sender immediately and
 delete
 the 
 message. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is 
 attributed to the sender and may not necessarily reflect the view of
 Travis 
 Perkins plc or its subsidiaries (Travis Perkins). Agreements binding
 Travis 
 Perkins may not be concluded by means of e-mail communication.
 /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail
 transmissions
 are 
 not secure and Travis Perkins accepts no responsibility for changes made
 to
 this 
 message after it was sent. Whilst steps have been taken to ensure that
 this 
 message is virus free, Travis Perkins accepts no liability for infection
 and
 
 recommends that you scan this e-mail and any attachments. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'Part of Travis
 Perkins 
 plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, 
 Northampton, NN5 7UG. /SPAN/P
 /BODY
 /HTML
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 html
 head
 meta http-equiv=Content-type content=text/html; charset=UTF-8
 /head
 body
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and any 
 attachments are confidential and intended solely for the use of the
 addressee 
 only. If you have received this message in error, you must not copy,
 distribute 
 or disclose the contents; please notify the sender immediately and delete
 the 
 message. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is 
 attributed to the sender and may not necessarily reflect the view of Travis 
 Perkins plc or its subsidiaries (Travis Perkins). Agreements binding Travis 
 Perkins may not be concluded by 

Re: [U2] how to round to 2 decimals?

2010-10-14 Thread Larry Hiscock
No idea if it's been implemented in UV ... it appears not, from your error
message.  It works in UD shrug


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
Sent: Thursday, October 14, 2010 9:35 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] how to round to 2 decimals?


Are you sure DROUND() is a UniVerse function?

When I do the following code:

X = 2596 * 8.333
*
PRINT DROUND(X,2)

I get the following error:

Array 'DROUND' never dimensioned.


 From: lar...@wcs-corp.com
 To: u2-users@listserver.u2ug.org
 Date: Thu, 14 Oct 2010 09:25:23 -0700
 Subject: Re: [U2] how to round to 2 decimals?
 
 What's so difficult about ANS = DROUND(N1 * N2, 2) ?
 
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
 Sent: Thursday, October 14, 2010 8:59 AM
 To: U2 Users List
 Subject: Re: [U2] how to round to 2 decimals?
 
 Hi
 
 Never heard of the DROUND() function in Universe.
 
 Anyway, why would I want to use a function syntax when I can do
 
 ANS = N1 * N2 'R2' and it is the answer that gets rounded?
 Easy to write.
 Easy to read...
 
 John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
 Perkins PLC  |  01604 682751
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
 Sent: 14 October 2010 16:49
 To: 'U2 Users List'
 Subject: Re: [U2] how to round to 2 decimals?
 
 Does UniVerse not support the DROUND() function?  
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
 Sent: Thursday, October 14, 2010 1:02 AM
 To: U2 Users List
 Subject: Re: [U2] how to round to 2 decimals?
 
 Hi
 
 I've always used 'R2'
 
 e.g. ANS = N1 * N2 'R2'
 
 No scaling, just rounding
 
 Regards
 
 John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
 Perkins PLC  |  01604 682751
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
 Sent: 13 October 2010 22:22
 To: u2-users@listserver.u2ug.org
 Subject: [U2] how to round to 2 decimals?
 
 
 I'm trying to figure out how to round to 2 decimal places with a
 floating point in UniVerse
 
 For example 2596 x 8.333 = 21,632.468
 
 How would you round that in UniVerse to 21,632.47?
 
 Thanks!
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 html
 head
 meta http-equiv=Content-type content=text/html; charset=UTF-8
 /head
 body
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and
 any 
 attachments are confidential and intended solely for the use of the
 addressee 
 only. If you have received this message in error, you must not copy,
 distribute 
 or disclose the contents; please notify the sender immediately and
 delete
 the 
 message. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is 
 attributed to the sender and may not necessarily reflect the view of
 Travis 
 Perkins plc or its subsidiaries (Travis Perkins). Agreements binding
 Travis 
 Perkins may not be concluded by means of e-mail communication.
 /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail
 transmissions
 are 
 not secure and Travis Perkins accepts no responsibility for changes made
 to
 this 
 message after it was sent. Whilst steps have been taken to ensure that
 this 
 message is virus free, Travis Perkins accepts no liability for infection
 and
 
 recommends that you scan this e-mail and any attachments. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'Part of Travis
 Perkins 
 plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, 
 Northampton, NN5 7UG. /SPAN/P
 /BODY
 /HTML
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 html
 head
 meta http-equiv=Content-type content=text/html; charset=UTF-8
 /head
 body
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and any

 attachments are confidential and intended solely for the use of the
 addressee 
 only. If you have received this message in error, you must not copy,
 distribute 
 or disclose the contents; please 

Re: [U2] how to round to 2 decimals?

2010-10-14 Thread Baker Hughes
Would someone like to submit the DROUND function to the BB for a UV 
enhancement request?
If it is already implemented on UD then it should be fairly easy to justify to 
add to UV.
A short business case should be sufficient.

Log into U2UG and then click on BetterandBetter link, it will redirect to the 
application.

Thank you.
-Baker
U2UG BB workgroup



-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
Sent: Thursday, October 14, 2010 11:38 AM
To: 'U2 Users List'
Subject: Re: [U2] how to round to 2 decimals?

No idea if it's been implemented in UV ... it appears not, from your error 
message.  It works in UD shrug


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
Sent: Thursday, October 14, 2010 9:35 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] how to round to 2 decimals?


Are you sure DROUND() is a UniVerse function?

When I do the following code:

X = 2596 * 8.333
*
PRINT DROUND(X,2)

I get the following error:

Array 'DROUND' never dimensioned.


 From: lar...@wcs-corp.com
 To: u2-users@listserver.u2ug.org
 Date: Thu, 14 Oct 2010 09:25:23 -0700
 Subject: Re: [U2] how to round to 2 decimals?

 What's so difficult about ANS = DROUND(N1 * N2, 2) ?


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John
 Woollam
 Sent: Thursday, October 14, 2010 8:59 AM
 To: U2 Users List
 Subject: Re: [U2] how to round to 2 decimals?

 Hi

 Never heard of the DROUND() function in Universe.

 Anyway, why would I want to use a function syntax when I can do

 ANS = N1 * N2 'R2' and it is the answer that gets rounded?
 Easy to write.
 Easy to read...

 John Woollam  |  Group Function Support 1  (Finance Systems)  |
 Travis Perkins PLC  |  01604 682751

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry
 Hiscock
 Sent: 14 October 2010 16:49
 To: 'U2 Users List'
 Subject: Re: [U2] how to round to 2 decimals?

 Does UniVerse not support the DROUND() function?

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John
 Woollam
 Sent: Thursday, October 14, 2010 1:02 AM
 To: U2 Users List
 Subject: Re: [U2] how to round to 2 decimals?

 Hi

 I've always used 'R2'

 e.g. ANS = N1 * N2 'R2'

 No scaling, just rounding

 Regards

 John Woollam  |  Group Function Support 1  (Finance Systems)  |
 Travis Perkins PLC  |  01604 682751 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris
 Austin
 Sent: 13 October 2010 22:22
 To: u2-users@listserver.u2ug.org
 Subject: [U2] how to round to 2 decimals?


 I'm trying to figure out how to round to 2 decimal places with a
 floating point in UniVerse

 For example 2596 x 8.333 = 21,632.468

 How would you round that in UniVerse to 21,632.47?

 Thanks!

 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

 html
 head
 meta http-equiv=Content-type content=text/html; charset=UTF-8
 /head body P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and
 any attachments are confidential and intended solely for the use of
 the addressee only. If you have received this message in error, you
 must not copy, distribute or disclose the contents; please notify the
 sender immediately and delete the message. /SPAN/P P
 style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is
 attributed to the sender and may not necessarily reflect the view of
 Travis Perkins plc or its subsidiaries (Travis Perkins). Agreements
 binding Travis Perkins may not be concluded by means of e-mail
 communication.
 /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail
 transmissions are not secure and Travis Perkins accepts no
 responsibility for changes made to this message after it was sent.
 Whilst steps have been taken to ensure that this message is virus
 free, Travis Perkins accepts no liability for infection and

 recommends that you scan this e-mail and any attachments. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'Part of Travis
 Perkins plc. Registered Office: Lodge Way House, Lodge Way, Harlestone
 Road, Northampton, NN5 7UG. /SPAN/P /BODY /HTML

 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users

 ___
 U2-Users 

Re: [U2] how to round to 2 decimals?

2010-10-14 Thread Rick Nuckolls
Universe does not have a DROUND() function that I can find.  However, at some 
point a FIX() function was included in the language.

:ED BP FIX 
5 lines long.

: P
0001: ABC = 123.45678
0002: PRINT FIX(ABC,2)
0003: PRINT FIX(ABC, 2, 0)
0004: PRINT FIX(ABC, 2, 1)
0005: END
Bottom at line 5.
: Q
:RUN BP FIX
123.46
123.46
123.45

Rick Nuckolls
Lynden Inc

On Oct 14, 2010, at 9:37 AM, Larry Hiscock wrote:

 No idea if it's been implemented in UV ... it appears not, from your error
 message.  It works in UD shrug
 
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
 Sent: Thursday, October 14, 2010 9:35 AM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] how to round to 2 decimals?
 
 
 Are you sure DROUND() is a UniVerse function?
 
 When I do the following code:
 
 X = 2596 * 8.333
 *
 PRINT DROUND(X,2)
 
 I get the following error:
 
 Array 'DROUND' never dimensioned.
 
 
 From: lar...@wcs-corp.com
 To: u2-users@listserver.u2ug.org
 Date: Thu, 14 Oct 2010 09:25:23 -0700
 Subject: Re: [U2] how to round to 2 decimals?
 
 What's so difficult about ANS = DROUND(N1 * N2, 2) ?
 
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
 Sent: Thursday, October 14, 2010 8:59 AM
 To: U2 Users List
 Subject: Re: [U2] how to round to 2 decimals?
 
 Hi
 
 Never heard of the DROUND() function in Universe.
 
 Anyway, why would I want to use a function syntax when I can do
 
 ANS = N1 * N2 'R2' and it is the answer that gets rounded?
 Easy to write.
 Easy to read...
 
 John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
 Perkins PLC  |  01604 682751
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
 Sent: 14 October 2010 16:49
 To: 'U2 Users List'
 Subject: Re: [U2] how to round to 2 decimals?
 
 Does UniVerse not support the DROUND() function?  
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
 Sent: Thursday, October 14, 2010 1:02 AM
 To: U2 Users List
 Subject: Re: [U2] how to round to 2 decimals?
 
 Hi
 
 I've always used 'R2'
 
 e.g. ANS = N1 * N2 'R2'
 
 No scaling, just rounding
 
 Regards
 
 John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
 Perkins PLC  |  01604 682751
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
 Sent: 13 October 2010 22:22
 To: u2-users@listserver.u2ug.org
 Subject: [U2] how to round to 2 decimals?
 
 
 I'm trying to figure out how to round to 2 decimal places with a
 floating point in UniVerse
 
 For example 2596 x 8.333 = 21,632.468
 
 How would you round that in UniVerse to 21,632.47?
 
 Thanks!

 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 html
 head
 meta http-equiv=Content-type content=text/html; charset=UTF-8
 /head
 body
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and
 any 
 attachments are confidential and intended solely for the use of the
 addressee 
 only. If you have received this message in error, you must not copy,
 distribute 
 or disclose the contents; please notify the sender immediately and
 delete
 the 
 message. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is 
 attributed to the sender and may not necessarily reflect the view of
 Travis 
 Perkins plc or its subsidiaries (Travis Perkins). Agreements binding
 Travis 
 Perkins may not be concluded by means of e-mail communication.
 /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail
 transmissions
 are 
 not secure and Travis Perkins accepts no responsibility for changes made
 to
 this 
 message after it was sent. Whilst steps have been taken to ensure that
 this 
 message is virus free, Travis Perkins accepts no liability for infection
 and
 
 recommends that you scan this e-mail and any attachments. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'Part of Travis
 Perkins 
 plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, 
 Northampton, NN5 7UG. /SPAN/P
 /BODY
 /HTML
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 

Re: [U2] Cloud UniVerse

2010-10-14 Thread Michael Pflugfelder
Here's my interpretation of the license:

If the heartbeat is done outside of Universe, then it's considered cold.
If the heartbeat is done inside of Universe, therefore requiring that Universe 
be running, it's considered hot.

-Mike

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Augusto Alonso
Sent: Thursday, October 14, 2010 8:38 AM
To: U2 Users List
Subject: Re: [U2] Cloud UniVerse

Hi all.
I have a doubt about this.

What happens if I have this scenario:
- 2 linux boxes with universe installed. Both the same license, but only the
active server has Universe started.
- a unique shared hard disk that holds my DataBase.
- In case of shutdown of the active server, the heartbeat software takes the
control and  starts Universe on the standby server.

According to the fact that the Program has not been started, it should be
considered Cold.
But according to the fact that I am using a software called heartbeat,
shuld it be considered Hot?

Does anybody know wich is the right consideration?
Thanks
--
Augusto Alonso Alonso
Director de Sistemas
QUITER SERVICIOS CENTRALES
Zoco Gran Santander, 1ª planta - 39011 Santander - España
Telf: +34 902233323 - Fax: +34 902234280

AVISO LEGAL: Este mensaje contiene información destinada exclusivamente al
usuario de destino, pudiendo contener información confidencial o protegida
legalmente. Si, por un error de envío o transmisión, ha recibido este
mensaje y usted no es el destinatario del mismo, por favor, notifique de
este hecho al remitente y no use, informe, distribuya, imprima, copie o
difunda este mensaje bajo ningún medio . Cualquier opinión en él contenida,
es exclusiva de su autor y no representa necesariamente la opinión de Quiter
Servicios Centrales.

LEGAL WARNING: This e-mail and any attachment, contain information intended
solely for the addressee and may contain confidential information or legally
protected data. If you are not the intended recipient, please notify the
sender and do not use, disclose, distribute, copy, print or rely on this
e-mail under any circumstances. The views and opinions expressed are the
author´s own and do not necessarily reflect those of Quiter Servicios
Centrales.



2010/10/7 Bill Brutzman bi...@hkmetalcraft.com

 The following is what I received from RS...

 License Types
 Rocket U2 offers several types of disaster recovery licenses as described
 in this document: Backup (Cold, Warm, Standby, and Hot). Primary licenses
 and Hot Backup licenses are interchangeable. License types cannot be changed
 after initial licensing.

 Cold
 A copy of the Program may be stored for backup purposes on a machine as
 long as the Program has not been started. There is no additional charge for
 this copy.

 Warm
 A copy of the Program may reside for backup purposes on a machine. It may
 be started, but is idling, and is not doing any work of any kind. There is
 no additional charge for this copy.

 Standby
 A copy of the Program may reside for backup purposes on a machine. It may
 be started but may not be doing work. A Standby license provides for rapid
 failover and can mirror data, update files, and synchronize programs, data
 or other resources as well as periodic failover testing. It cannot be used
 for production, development, solution testing, program maintenance,
 reporting or other operational uses. A Standby license is currently
 available at a 75% off the SRP (except U2.NET which has a different
 pricing structure) and must mirror the primary license in number of users,
 features, and maintenance status. A Standby license cannot be converted,
 consolidated or distributed to a non-Standby license. Applicable ISV
 contract discounts apply.

 Hot
 A copy of the Program may reside for backup purposes on a machine. It may
 be started, and is doing work. However, this Program must be ordered, and
 there is a charge for this copy.
 Doing work, includes, for example, production, development, program
 maintenance, and testing. It also could include other activities such as
 mirroring of transactions, updating of files, synchronization of programs,
 data or other resources (for example, active linking with another machine,
 program, database or other resource, and so on), or any activity or
 configurations that would allow an active hot switch or other synchronized
 switch over between programs, databases, or other resources to occur.
 In the case of a program or system configuration that is designed to
 support a high availability environment by using various techniques (e.g.
 duplexing, mirroring of files or transactions, maintaining a heartbeat,
 active linking with another machine, program, data base or other resource,
 etc.), the program is considered to be doing work in both the hot and
 standby situations and a use authorization is required and a charge
 applies.
 A scheduled hardware outage, such as preventive maintenance or installation
 of upgrades, is not 

Re: [U2] how to round to 2 decimals?

2010-10-14 Thread George Gallen
I always used   int ( ( x * 10**y) + roundinglevel ) / 10**y
where x is the original number, and y is the number of decimals
and where roundinglevel is a cutoff, ie (.5 so less than .5 rounds
down, and .5 and greater rounds up), if I wanted all number to
be rounded up, just use .. 

And it works in all flavors

George

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
 Sent: Thursday, October 14, 2010 12:25 PM
 To: 'U2 Users List'
 Subject: Re: [U2] how to round to 2 decimals?
 
 What's so difficult about ANS = DROUND(N1 * N2, 2) ?
 
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
 Sent: Thursday, October 14, 2010 8:59 AM
 To: U2 Users List
 Subject: Re: [U2] how to round to 2 decimals?
 
 Hi
 
 Never heard of the DROUND() function in Universe.
 
 Anyway, why would I want to use a function syntax when I can do
 
 ANS = N1 * N2 'R2' and it is the answer that gets rounded?
 Easy to write.
 Easy to read...
 
 John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
 Perkins PLC  |  01604 682751
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry
 Hiscock
 Sent: 14 October 2010 16:49
 To: 'U2 Users List'
 Subject: Re: [U2] how to round to 2 decimals?
 
 Does UniVerse not support the DROUND() function?
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
 Sent: Thursday, October 14, 2010 1:02 AM
 To: U2 Users List
 Subject: Re: [U2] how to round to 2 decimals?
 
 Hi
 
 I've always used 'R2'
 
 e.g. ANS = N1 * N2 'R2'
 
 No scaling, just rounding
 
 Regards
 
 John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
 Perkins PLC  |  01604 682751
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
 Sent: 13 October 2010 22:22
 To: u2-users@listserver.u2ug.org
 Subject: [U2] how to round to 2 decimals?
 
 
 I'm trying to figure out how to round to 2 decimal places with a
 floating point in UniVerse
 
 For example 2596 x 8.333 = 21,632.468
 
 How would you round that in UniVerse to 21,632.47?
 
 Thanks!
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 html
 head
 meta http-equiv=Content-type content=text/html; charset=UTF-8
 /head
 body
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and
 any
 attachments are confidential and intended solely for the use of the
 addressee
 only. If you have received this message in error, you must not copy,
 distribute
 or disclose the contents; please notify the sender immediately and
 delete
 the
 message. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is
 attributed to the sender and may not necessarily reflect the view of
 Travis
 Perkins plc or its subsidiaries (Travis Perkins). Agreements binding
 Travis
 Perkins may not be concluded by means of e-mail communication.
 /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail
 transmissions
 are
 not secure and Travis Perkins accepts no responsibility for changes
 made
 to
 this
 message after it was sent. Whilst steps have been taken to ensure that
 this
 message is virus free, Travis Perkins accepts no liability for
 infection
 and
 
 recommends that you scan this e-mail and any attachments. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'Part of Travis
 Perkins
 plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road,
 Northampton, NN5 7UG. /SPAN/P
 /BODY
 /HTML
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 html
 head
 meta http-equiv=Content-type content=text/html; charset=UTF-8
 /head
 body
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and
 any
 attachments are confidential and intended solely for the use of the
 addressee
 only. If you have received this message in error, you must not copy,
 distribute
 or disclose the contents; please notify the sender immediately and
 delete
 the
 message. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message 

Re: [U2] how to round to 2 decimals?

2010-10-14 Thread Chris Austin

Thanks George,

I know this will be helpful with scaling, I know the need will arise for this 
in the future. 

-Chris



 From: ggal...@wyanokegroup.com
 To: u2-users@listserver.u2ug.org
 Date: Thu, 14 Oct 2010 12:23:50 -0500
 Subject: Re: [U2] how to round to 2 decimals?
 
 I always used   int ( ( x * 10**y) + roundinglevel ) / 10**y
 where x is the original number, and y is the number of decimals
 and where roundinglevel is a cutoff, ie (.5 so less than .5 rounds
 down, and .5 and greater rounds up), if I wanted all number to
 be rounded up, just use .. 
 
 And it works in all flavors
 
 George
 
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
  boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
  Sent: Thursday, October 14, 2010 12:25 PM
  To: 'U2 Users List'
  Subject: Re: [U2] how to round to 2 decimals?
  
  What's so difficult about ANS = DROUND(N1 * N2, 2) ?
  
  
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
  Sent: Thursday, October 14, 2010 8:59 AM
  To: U2 Users List
  Subject: Re: [U2] how to round to 2 decimals?
  
  Hi
  
  Never heard of the DROUND() function in Universe.
  
  Anyway, why would I want to use a function syntax when I can do
  
  ANS = N1 * N2 'R2' and it is the answer that gets rounded?
  Easy to write.
  Easy to read...
  
  John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
  Perkins PLC  |  01604 682751
  
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry
  Hiscock
  Sent: 14 October 2010 16:49
  To: 'U2 Users List'
  Subject: Re: [U2] how to round to 2 decimals?
  
  Does UniVerse not support the DROUND() function?
  
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
  Sent: Thursday, October 14, 2010 1:02 AM
  To: U2 Users List
  Subject: Re: [U2] how to round to 2 decimals?
  
  Hi
  
  I've always used 'R2'
  
  e.g. ANS = N1 * N2 'R2'
  
  No scaling, just rounding
  
  Regards
  
  John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
  Perkins PLC  |  01604 682751
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
  Sent: 13 October 2010 22:22
  To: u2-users@listserver.u2ug.org
  Subject: [U2] how to round to 2 decimals?
  
  
  I'm trying to figure out how to round to 2 decimal places with a
  floating point in UniVerse
  
  For example 2596 x 8.333 = 21,632.468
  
  How would you round that in UniVerse to 21,632.47?
  
  Thanks!
  
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users
  
  html
  head
  meta http-equiv=Content-type content=text/html; charset=UTF-8
  /head
  body
  P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
  style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and
  any
  attachments are confidential and intended solely for the use of the
  addressee
  only. If you have received this message in error, you must not copy,
  distribute
  or disclose the contents; please notify the sender immediately and
  delete
  the
  message. /SPAN/P
  P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
  style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is
  attributed to the sender and may not necessarily reflect the view of
  Travis
  Perkins plc or its subsidiaries (Travis Perkins). Agreements binding
  Travis
  Perkins may not be concluded by means of e-mail communication.
  /SPAN/P
  P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
  style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail
  transmissions
  are
  not secure and Travis Perkins accepts no responsibility for changes
  made
  to
  this
  message after it was sent. Whilst steps have been taken to ensure that
  this
  message is virus free, Travis Perkins accepts no liability for
  infection
  and
  
  recommends that you scan this e-mail and any attachments. /SPAN/P
  P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
  style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'Part of Travis
  Perkins
  plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road,
  Northampton, NN5 7UG. /SPAN/P
  /BODY
  /HTML
  
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users
  
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users
  
  html
  head
  meta http-equiv=Content-type content=text/html; charset=UTF-8
  /head
  body
  P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
  style=FONT-SIZE: 

[U2] Restoring Jbase account-save to Universe

2010-10-14 Thread David Ward
Can anyone advise on the best way to restore an account-save to Universe? We
get Invalid tape format - level 1 Dsegment missing when we try to use the
Universe acct.restore command. We tried skipping the label in varying sizes
with no success.

Thanks!

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] XLr8Editor and Tools Updates

2010-10-14 Thread Bill Brutzman
Doug:

I am having trouble locating the install ID, both in the manual and in Eclipse. 
 Please clarify...

--Bill 

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Doug
Sent: Wednesday, October 13, 2010 6:34 PM
To: 'U2 Users List'
Subject: Re: [U2] XLr8Editor and Tools Updates

Hi Bill:

We do offer trial licenses.  Follow the installation instructions at 
www.u2logic.com/pdfs/XLr8Installation.pdf.  Then send us you install id and we 
will send you a 30 day license.

Regards,
Doug
www.u2logic.com

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Brutzman
Sent: Wednesday, October 13, 2010 3:59 PM
To: U2 Users List
Subject: Re: [U2] XLr8Editor and Tools Updates


What...  no try and buy? 

--Bill
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] how to round to 2 decimals?

2010-10-14 Thread Don Robinson
How about this?

X = 2596 * 8.333 ;*  [X will contain 21632.468]
ANS = INT((X * 100) + .5) / 100
PRINT ANS


The (X * 100) changes X to 2163246.8
The + .5 changes X to 2163247.3
The INT() changes X to 2163247
The / 100 changes X to 21632.47

The output will displays 21632.47

Using a FOR NEXT loop, I run INT((21632.468 * 100) + .5) / 100 and 
the OCONV(21632.468,'MR20') versions one million times and got .84 seconds for 
the INT version and 4.9 seconds for the OCONV version.

I doubt that 4 seconds would make a difference to most programs but every 
little 
helps.

I also run the OCONV(ICONV(21632.468,'MD2'),'MD2') version and it took 5.1 
seconds.

My point: There is more than one way to skin a cat!

Don Robinson


 




From: Chris Austin cjausti...@hotmail.com
To: u2-users@listserver.u2ug.org
Sent: Thu, October 14, 2010 12:34:36 PM
Subject: Re: [U2] how to round to 2 decimals?


Are you sure DROUND() is a UniVerse function?

When I do the following code:

X = 2596 * 8.333
*
PRINT DROUND(X,2)

I get the following error:

Array 'DROUND' never dimensioned.


 From: lar...@wcs-corp.com
 To: u2-users@listserver.u2ug.org
 Date: Thu, 14 Oct 2010 09:25:23 -0700
 Subject: Re: [U2] how to round to 2 decimals?
 
 What's so difficult about ANS = DROUND(N1 * N2, 2) ?
 
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
 Sent: Thursday, October 14, 2010 8:59 AM
 To: U2 Users List
 Subject: Re: [U2] how to round to 2 decimals?
 
 Hi
 
 Never heard of the DROUND() function in Universe.
 
 Anyway, why would I want to use a function syntax when I can do
 
 ANS = N1 * N2 'R2' and it is the answer that gets rounded?
 Easy to write.
 Easy to read...
 
 John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
 Perkins PLC  |  01604 682751
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
 Sent: 14 October 2010 16:49
 To: 'U2 Users List'
 Subject: Re: [U2] how to round to 2 decimals?
 
 Does UniVerse not support the DROUND() function?  
 
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
 Sent: Thursday, October 14, 2010 1:02 AM
 To: U2 Users List
 Subject: Re: [U2] how to round to 2 decimals?
 
 Hi
 
 I've always used 'R2'
 
 e.g. ANS = N1 * N2 'R2'
 
 No scaling, just rounding
 
 Regards
 
 John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
 Perkins PLC  |  01604 682751
 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
 Sent: 13 October 2010 22:22
 To: u2-users@listserver.u2ug.org
 Subject: [U2] how to round to 2 decimals?
 
 
 I'm trying to figure out how to round to 2 decimal places with a
 floating point in UniVerse
 
 For example 2596 x 8.333 = 21,632.468
 
 How would you round that in UniVerse to 21,632.47?
 
 Thanks!
                          
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 html
 head
 meta http-equiv=Content-type content=text/html; charset=UTF-8
 /head
 body
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and
 any 
 attachments are confidential and intended solely for the use of the
 addressee 
 only. If you have received this message in error, you must not copy,
 distribute 
 or disclose the contents; please notify the sender immediately and
 delete
 the 
 message. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is 
 attributed to the sender and may not necessarily reflect the view of
 Travis 
 Perkins plc or its subsidiaries (Travis Perkins). Agreements binding
 Travis 
 Perkins may not be concluded by means of e-mail communication.
 /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail
 transmissions
 are 
 not secure and Travis Perkins accepts no responsibility for changes made
 to
 this 
 message after it was sent. Whilst steps have been taken to ensure that
 this 
 message is virus free, Travis Perkins accepts no liability for infection
 and
 
 recommends that you scan this e-mail and any attachments. /SPAN/P
 P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
 style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'Part of Travis
 Perkins 
 plc. Registered Office: Lodge Way House, Lodge Way, Harlestone Road, 
 Northampton, NN5 7UG. /SPAN/P
 /BODY
 /HTML
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 

Re: [U2] how to round to 2 decimals?

2010-10-14 Thread Chris Austin

Dan,

That's pretty cool you got those results actually on your benchmark. I can only 
imagine why UniVerse would
be like that? Maybe it has to look up some libraries with OCONV or do some 
stupid cross-checking. Either
way that's actually a considerable difference if you were in a LOOP with 5,000+ 
records lets says.

That would shave off 5 1/2 minutes of processing time!

-Chris


 Date: Thu, 14 Oct 2010 11:00:08 -0700
 From: donr_w...@yahoo.com
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] how to round to 2 decimals?
 
 How about this?
 
 X = 2596 * 8.333 ;*  [X will contain 21632.468]
 ANS = INT((X * 100) + .5) / 100
 PRINT ANS
 
 
 The (X * 100) changes X to 2163246.8
 The + .5 changes X to 2163247.3
 The INT() changes X to 2163247
 The / 100 changes X to 21632.47
 
 The output will displays 21632.47
 
 Using a FOR NEXT loop, I run INT((21632.468 * 100) + .5) / 100 and 
 the OCONV(21632.468,'MR20') versions one million times and got .84 seconds 
 for 
 the INT version and 4.9 seconds for the OCONV version.
 
 I doubt that 4 seconds would make a difference to most programs but every 
 little 
 helps.
 
 I also run the OCONV(ICONV(21632.468,'MD2'),'MD2') version and it took 5.1 
 seconds.
 
 My point: There is more than one way to skin a cat!
 
 Don Robinson
 
 
  
 
 
 
 
 From: Chris Austin cjausti...@hotmail.com
 To: u2-users@listserver.u2ug.org
 Sent: Thu, October 14, 2010 12:34:36 PM
 Subject: Re: [U2] how to round to 2 decimals?
 
 
 Are you sure DROUND() is a UniVerse function?
 
 When I do the following code:
 
 X = 2596 * 8.333
 *
 PRINT DROUND(X,2)
 
 I get the following error:
 
 Array 'DROUND' never dimensioned.
 
 
  From: lar...@wcs-corp.com
  To: u2-users@listserver.u2ug.org
  Date: Thu, 14 Oct 2010 09:25:23 -0700
  Subject: Re: [U2] how to round to 2 decimals?
  
  What's so difficult about ANS = DROUND(N1 * N2, 2) ?
  
  
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
  Sent: Thursday, October 14, 2010 8:59 AM
  To: U2 Users List
  Subject: Re: [U2] how to round to 2 decimals?
  
  Hi
  
  Never heard of the DROUND() function in Universe.
  
  Anyway, why would I want to use a function syntax when I can do
  
  ANS = N1 * N2 'R2' and it is the answer that gets rounded?
  Easy to write.
  Easy to read...
  
  John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
  Perkins PLC  |  01604 682751
  
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
  Sent: 14 October 2010 16:49
  To: 'U2 Users List'
  Subject: Re: [U2] how to round to 2 decimals?
  
  Does UniVerse not support the DROUND() function?  
  
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
  Sent: Thursday, October 14, 2010 1:02 AM
  To: U2 Users List
  Subject: Re: [U2] how to round to 2 decimals?
  
  Hi
  
  I've always used 'R2'
  
  e.g. ANS = N1 * N2 'R2'
  
  No scaling, just rounding
  
  Regards
  
  John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
  Perkins PLC  |  01604 682751
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
  Sent: 13 October 2010 22:22
  To: u2-users@listserver.u2ug.org
  Subject: [U2] how to round to 2 decimals?
  
  
  I'm trying to figure out how to round to 2 decimal places with a
  floating point in UniVerse
  
  For example 2596 x 8.333 = 21,632.468
  
  How would you round that in UniVerse to 21,632.47?
  
  Thanks!
   
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users
  
  html
  head
  meta http-equiv=Content-type content=text/html; charset=UTF-8
  /head
  body
  P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
  style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and
  any 
  attachments are confidential and intended solely for the use of the
  addressee 
  only. If you have received this message in error, you must not copy,
  distribute 
  or disclose the contents; please notify the sender immediately and
  delete
  the 
  message. /SPAN/P
  P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
  style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is 
  attributed to the sender and may not necessarily reflect the view of
  Travis 
  Perkins plc or its subsidiaries (Travis Perkins). Agreements binding
  Travis 
  Perkins may not be concluded by means of e-mail communication.
  /SPAN/P
  P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
  style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail
  transmissions
  are 
  not secure and Travis Perkins accepts no 

Re: [U2] how to round to 2 decimals?

2010-10-14 Thread Chris Austin

oops.. I should have read your post closer. 

' one million times' - so yeah that wouldn't make a huge difference but it's 
still good to know!

-Chris


 Date: Thu, 14 Oct 2010 11:00:08 -0700
 From: donr_w...@yahoo.com
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] how to round to 2 decimals?
 
 How about this?
 
 X = 2596 * 8.333 ;*  [X will contain 21632.468]
 ANS = INT((X * 100) + .5) / 100
 PRINT ANS
 
 
 The (X * 100) changes X to 2163246.8
 The + .5 changes X to 2163247.3
 The INT() changes X to 2163247
 The / 100 changes X to 21632.47
 
 The output will displays 21632.47
 
 Using a FOR NEXT loop, I run INT((21632.468 * 100) + .5) / 100 and 
 the OCONV(21632.468,'MR20') versions one million times and got .84 seconds 
 for 
 the INT version and 4.9 seconds for the OCONV version.
 
 I doubt that 4 seconds would make a difference to most programs but every 
 little 
 helps.
 
 I also run the OCONV(ICONV(21632.468,'MD2'),'MD2') version and it took 5.1 
 seconds.
 
 My point: There is more than one way to skin a cat!
 
 Don Robinson
 
 
  
 
 
 
 
 From: Chris Austin cjausti...@hotmail.com
 To: u2-users@listserver.u2ug.org
 Sent: Thu, October 14, 2010 12:34:36 PM
 Subject: Re: [U2] how to round to 2 decimals?
 
 
 Are you sure DROUND() is a UniVerse function?
 
 When I do the following code:
 
 X = 2596 * 8.333
 *
 PRINT DROUND(X,2)
 
 I get the following error:
 
 Array 'DROUND' never dimensioned.
 
 
  From: lar...@wcs-corp.com
  To: u2-users@listserver.u2ug.org
  Date: Thu, 14 Oct 2010 09:25:23 -0700
  Subject: Re: [U2] how to round to 2 decimals?
  
  What's so difficult about ANS = DROUND(N1 * N2, 2) ?
  
  
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
  Sent: Thursday, October 14, 2010 8:59 AM
  To: U2 Users List
  Subject: Re: [U2] how to round to 2 decimals?
  
  Hi
  
  Never heard of the DROUND() function in Universe.
  
  Anyway, why would I want to use a function syntax when I can do
  
  ANS = N1 * N2 'R2' and it is the answer that gets rounded?
  Easy to write.
  Easy to read...
  
  John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
  Perkins PLC  |  01604 682751
  
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
  Sent: 14 October 2010 16:49
  To: 'U2 Users List'
  Subject: Re: [U2] how to round to 2 decimals?
  
  Does UniVerse not support the DROUND() function?  
  
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Woollam
  Sent: Thursday, October 14, 2010 1:02 AM
  To: U2 Users List
  Subject: Re: [U2] how to round to 2 decimals?
  
  Hi
  
  I've always used 'R2'
  
  e.g. ANS = N1 * N2 'R2'
  
  No scaling, just rounding
  
  Regards
  
  John Woollam  |  Group Function Support 1  (Finance Systems)  |  Travis
  Perkins PLC  |  01604 682751
  -Original Message-
  From: u2-users-boun...@listserver.u2ug.org
  [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin
  Sent: 13 October 2010 22:22
  To: u2-users@listserver.u2ug.org
  Subject: [U2] how to round to 2 decimals?
  
  
  I'm trying to figure out how to round to 2 decimal places with a
  floating point in UniVerse
  
  For example 2596 x 8.333 = 21,632.468
  
  How would you round that in UniVerse to 21,632.47?
  
  Thanks!
   
  ___
  U2-Users mailing list
  U2-Users@listserver.u2ug.org
  http://listserver.u2ug.org/mailman/listinfo/u2-users
  
  html
  head
  meta http-equiv=Content-type content=text/html; charset=UTF-8
  /head
  body
  P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
  style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail and
  any 
  attachments are confidential and intended solely for the use of the
  addressee 
  only. If you have received this message in error, you must not copy,
  distribute 
  or disclose the contents; please notify the sender immediately and
  delete
  the 
  message. /SPAN/P
  P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
  style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message is 
  attributed to the sender and may not necessarily reflect the view of
  Travis 
  Perkins plc or its subsidiaries (Travis Perkins). Agreements binding
  Travis 
  Perkins may not be concluded by means of e-mail communication.
  /SPAN/P
  P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN 
  style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'E-mail
  transmissions
  are 
  not secure and Travis Perkins accepts no responsibility for changes made
  to
  this 
  message after it was sent. Whilst steps have been taken to ensure that
  this 
  message is virus free, Travis Perkins accepts no liability for infection
  and
  
  recommends that you 

Re: [U2] how to round to 2 decimals?

2010-10-14 Thread George Gallen
so, when the bank rounds everyones bank balances down the cent, the system
would barely pause.maybe noone would noticehmmm.

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of Chris Austin
 Sent: Thursday, October 14, 2010 2:05 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] how to round to 2 decimals?
 
 
 oops.. I should have read your post closer.
 
 ' one million times' - so yeah that wouldn't make a huge difference but
 it's still good to know!
 
 -Chris
 
 
  Date: Thu, 14 Oct 2010 11:00:08 -0700
  From: donr_w...@yahoo.com
  To: u2-users@listserver.u2ug.org
  Subject: Re: [U2] how to round to 2 decimals?
 
  How about this?
 
  X = 2596 * 8.333 ;*  [X will contain 21632.468]
  ANS = INT((X * 100) + .5) / 100
  PRINT ANS
 
 
  The (X * 100) changes X to 2163246.8
  The + .5 changes X to 2163247.3
  The INT() changes X to 2163247
  The / 100 changes X to 21632.47
 
  The output will displays 21632.47
 
  Using a FOR NEXT loop, I run INT((21632.468 * 100) + .5) / 100 and
  the OCONV(21632.468,'MR20') versions one million times and got .84
 seconds for
  the INT version and 4.9 seconds for the OCONV version.
 
  I doubt that 4 seconds would make a difference to most programs but
 every little
  helps.
 
  I also run the OCONV(ICONV(21632.468,'MD2'),'MD2') version and it
 took 5.1
  seconds.
 
  My point: There is more than one way to skin a cat!
 
  Don Robinson
 
 
 
 
 
 
  
  From: Chris Austin cjausti...@hotmail.com
  To: u2-users@listserver.u2ug.org
  Sent: Thu, October 14, 2010 12:34:36 PM
  Subject: Re: [U2] how to round to 2 decimals?
 
 
  Are you sure DROUND() is a UniVerse function?
 
  When I do the following code:
 
  X = 2596 * 8.333
  *
  PRINT DROUND(X,2)
 
  I get the following error:
 
  Array 'DROUND' never dimensioned.
 
 
   From: lar...@wcs-corp.com
   To: u2-users@listserver.u2ug.org
   Date: Thu, 14 Oct 2010 09:25:23 -0700
   Subject: Re: [U2] how to round to 2 decimals?
  
   What's so difficult about ANS = DROUND(N1 * N2, 2) ?
  
  
   -Original Message-
   From: u2-users-boun...@listserver.u2ug.org
   [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John
 Woollam
   Sent: Thursday, October 14, 2010 8:59 AM
   To: U2 Users List
   Subject: Re: [U2] how to round to 2 decimals?
  
   Hi
  
   Never heard of the DROUND() function in Universe.
  
   Anyway, why would I want to use a function syntax when I can do
  
   ANS = N1 * N2 'R2' and it is the answer that gets rounded?
   Easy to write.
   Easy to read...
  
   John Woollam  |  Group Function Support 1  (Finance Systems)  |
 Travis
   Perkins PLC  |  01604 682751
  
   -Original Message-
   From: u2-users-boun...@listserver.u2ug.org
   [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry
 Hiscock
   Sent: 14 October 2010 16:49
   To: 'U2 Users List'
   Subject: Re: [U2] how to round to 2 decimals?
  
   Does UniVerse not support the DROUND() function?
  
   -Original Message-
   From: u2-users-boun...@listserver.u2ug.org
   [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John
 Woollam
   Sent: Thursday, October 14, 2010 1:02 AM
   To: U2 Users List
   Subject: Re: [U2] how to round to 2 decimals?
  
   Hi
  
   I've always used 'R2'
  
   e.g. ANS = N1 * N2 'R2'
  
   No scaling, just rounding
  
   Regards
  
   John Woollam  |  Group Function Support 1  (Finance Systems)  |
 Travis
   Perkins PLC  |  01604 682751
   -Original Message-
   From: u2-users-boun...@listserver.u2ug.org
   [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris
 Austin
   Sent: 13 October 2010 22:22
   To: u2-users@listserver.u2ug.org
   Subject: [U2] how to round to 2 decimals?
  
  
   I'm trying to figure out how to round to 2 decimal places with a
   floating point in UniVerse
  
   For example 2596 x 8.333 = 21,632.468
  
   How would you round that in UniVerse to 21,632.47?
  
   Thanks!
  
   ___
   U2-Users mailing list
   U2-Users@listserver.u2ug.org
   http://listserver.u2ug.org/mailman/listinfo/u2-users
  
   html
   head
   meta http-equiv=Content-type content=text/html; charset=UTF-8
   /head
   body
   P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
   style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail
 and
   any
   attachments are confidential and intended solely for the use of the
   addressee
   only. If you have received this message in error, you must not
 copy,
   distribute
   or disclose the contents; please notify the sender immediately and
   delete
   the
   message. /SPAN/P
   P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
   style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This message
 is
   attributed to the sender and may not necessarily reflect the view
 of
   Travis
   Perkins plc or its subsidiaries (Travis Perkins). Agreements
 binding
   

Re: [U2] how to round to 2 decimals?

2010-10-14 Thread Don Robinson
:-)

Yep, no one would notice a half cent!!
 Don Robinson





From: George Gallen ggal...@wyanokegroup.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Thu, October 14, 2010 2:07:00 PM
Subject: Re: [U2] how to round to 2 decimals?

so, when the bank rounds everyones bank balances down the cent, the system
would barely pause.maybe noone would noticehmmm.

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of Chris Austin
 Sent: Thursday, October 14, 2010 2:05 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] how to round to 2 decimals?
 
 
 oops.. I should have read your post closer.
 
 ' one million times' - so yeah that wouldn't make a huge difference but
 it's still good to know!
 
 -Chris
 
 
  Date: Thu, 14 Oct 2010 11:00:08 -0700
  From: donr_w...@yahoo.com
  To: u2-users@listserver.u2ug.org
  Subject: Re: [U2] how to round to 2 decimals?
 
  How about this?
 
  X = 2596 * 8.333    ;*  [X will contain 21632.468]
  ANS = INT((X * 100) + .5) / 100
  PRINT ANS
 
 
  The (X * 100) changes X to 2163246.8
  The + .5 changes X to 2163247.3
  The INT() changes X to 2163247
  The / 100 changes X to 21632.47
 
  The output will displays 21632.47
 
  Using a FOR NEXT loop, I run INT((21632.468 * 100) + .5) / 100 and
  the OCONV(21632.468,'MR20') versions one million times and got .84
 seconds for
  the INT version and 4.9 seconds for the OCONV version.
 
  I doubt that 4 seconds would make a difference to most programs but
 every little
  helps.
 
  I also run the OCONV(ICONV(21632.468,'MD2'),'MD2') version and it
 took 5.1
  seconds.
 
  My point: There is more than one way to skin a cat!
 
  Don Robinson
 
 
 
 
 
 
  
  From: Chris Austin cjausti...@hotmail.com
  To: u2-users@listserver.u2ug.org
  Sent: Thu, October 14, 2010 12:34:36 PM
  Subject: Re: [U2] how to round to 2 decimals?
 
 
  Are you sure DROUND() is a UniVerse function?
 
  When I do the following code:
 
  X = 2596 * 8.333
  *
  PRINT DROUND(X,2)
 
  I get the following error:
 
  Array 'DROUND' never dimensioned.
 
 
   From: lar...@wcs-corp.com
   To: u2-users@listserver.u2ug.org
   Date: Thu, 14 Oct 2010 09:25:23 -0700
   Subject: Re: [U2] how to round to 2 decimals?
  
   What's so difficult about ANS = DROUND(N1 * N2, 2) ?
  
  
   -Original Message-
   From: u2-users-boun...@listserver.u2ug.org
   [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John
 Woollam
   Sent: Thursday, October 14, 2010 8:59 AM
   To: U2 Users List
   Subject: Re: [U2] how to round to 2 decimals?
  
   Hi
  
   Never heard of the DROUND() function in Universe.
  
   Anyway, why would I want to use a function syntax when I can do
  
   ANS = N1 * N2 'R2' and it is the answer that gets rounded?
   Easy to write.
   Easy to read...
  
   John Woollam  |  Group Function Support 1  (Finance Systems)  |
 Travis
   Perkins PLC  |  01604 682751
  
   -Original Message-
   From: u2-users-boun...@listserver.u2ug.org
   [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry
 Hiscock
   Sent: 14 October 2010 16:49
   To: 'U2 Users List'
   Subject: Re: [U2] how to round to 2 decimals?
  
   Does UniVerse not support the DROUND() function?
  
   -Original Message-
   From: u2-users-boun...@listserver.u2ug.org
   [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John
 Woollam
   Sent: Thursday, October 14, 2010 1:02 AM
   To: U2 Users List
   Subject: Re: [U2] how to round to 2 decimals?
  
   Hi
  
   I've always used 'R2'
  
   e.g. ANS = N1 * N2 'R2'
  
   No scaling, just rounding
  
   Regards
  
   John Woollam  |  Group Function Support 1  (Finance Systems)  |
 Travis
   Perkins PLC  |  01604 682751
   -Original Message-
   From: u2-users-boun...@listserver.u2ug.org
   [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris
 Austin
   Sent: 13 October 2010 22:22
   To: u2-users@listserver.u2ug.org
   Subject: [U2] how to round to 2 decimals?
  
  
   I'm trying to figure out how to round to 2 decimal places with a
   floating point in UniVerse
  
   For example 2596 x 8.333 = 21,632.468
  
   How would you round that in UniVerse to 21,632.47?
  
   Thanks!
  
   ___
   U2-Users mailing list
   U2-Users@listserver.u2ug.org
   http://listserver.u2ug.org/mailman/listinfo/u2-users
  
   html
   head
   meta http-equiv=Content-type content=text/html; charset=UTF-8
   /head
   body
   P style=MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0ptSPAN
   style=FONT-SIZE: 8.2pt; FONT-FAMILY: 'MS Sans Serif'This e-mail
 and
   any
   attachments are confidential and intended solely for the use of the
   addressee
   only. If you have received this message in error, you must not
 copy,
   distribute
   or disclose the contents; please notify the sender immediately and
   delete
   the
   message. /SPAN/P
   P