[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 thousand
- Subject: RE: [sqr-users] rounding to thousand
- From: "Elvis Pressly" <elvisdman@hotmail.com>
- Date: Tue, 31 Jan 2006 20:42:08 +0000
- Bcc:
- Delivery-date: Tue, 31 Jan 2006 15:44:23 -0500
- In-reply-to: <BAY111-F31A0540BC88B3DB8FC30C6E9080@phx.gbl>
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
Here's an example I always use to round to the nearest thousand.
let #ResultRounded = 1000 * ceil(#NumberToRound / 1000)
>From: "radhika reddy" <radhika_05@hotmail.com>
>Reply-To: "This list is for discussion about the SQR database
>reportinglanguage from Hyperion Solutions." <sqr-users@sqrug.org>
>To: sqr-users@sqrug.org
>Subject: [sqr-users] rounding to thousand
>Date: Tue, 31 Jan 2006 10:05:56 -0600
>
>Hi,
>
> I have to round a number to thousands like the following:
>
>Number Result
>6590.78 7000.00
>5343.00 5000.00
>3000.00 3000.00
>
>I am not able to achieve this through Round function. Can you tell me is
>there any function or how to achieve this.
>
>Thanks,
>Radhika
>
>_________________________________________________________________
>FREE pop-up blocking with the new MSN Toolbar – get it now!
>http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>
>_______________________________________________
>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