[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] Rounding to the next whole number



I concur.

Divide your number by ten and round up.  If it's a whole number, you
didn't change it (15 ceilings to 15, for example).

short sweet and to the point.

-----Original Message-----
From: sqr-users-bounces+bstone=fastenal.com@sqrug.org
[mailto:sqr-users-bounces+bstone=fastenal.com@sqrug.org] On Behalf Of
don.barclay@srs.gov
Sent: Thursday, January 05, 2006 1:47 PM
To: This list is for discussion about the SQR database reporting
language from Hyperion Solutions.
Subject: RE: [sqr-users] Rounding to the next whole number

Uh, what's wrong with Roger's solution?:

Let #result = Ceil(#value / 10)

Don't get much simpler than that.

Don

sqr-users-bounces+don.barclay=srs.gov@sqrug.org wrote on 01/05/2006 
02:37:44 PM:

> Kyle,
> Thank you very much for your resolution. I guess I will go with this
> unless I find a easier or smaller code.
> 
> Thanks again,
> Murali 

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users