Re: Round Up

2008-03-23 Thread Claude Schneegans
 >>Round might round down;

Well, as far as I know, this is what round means, no?

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301847
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Round Up

2008-03-23 Thread Jenny Gavin-Wear
sweet .. thanks James

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]
Sent: 23 March 2008 11:08
To: CF-Talk
Subject: Re: Round Up


Ceiling actually:

http://www.cfquickdocs.com/#Ceiling

Round might round down; the OP wants to round up always.

On Sun, Mar 23, 2008 at 9:04 PM, Will Tomlinson <[EMAIL PROTECTED]> wrote:
> >is there any function or easy to always round up a number, please?
>  >
>  >Jenny
>
>  Round()
>
>  http://livedocs.adobe.com/coldfusion/6/CFML_Reference/functions-pt274.htm
>
>  Will
>
>
>



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301846
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Round Up

2008-03-23 Thread Jenny Gavin-Wear
hi Will ..

round makes 1.1 into 1 ... need 1 to be 2 ..


-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: 23 March 2008 12:05
To: CF-Talk
Subject: Re: Round Up


>is there any function or easy to always round up a number, please?
>
>Jenny

Round()

http://livedocs.adobe.com/coldfusion/6/CFML_Reference/functions-pt274.htm

Will



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301845
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Round Up

2008-03-23 Thread Will Tomlinson
>Ceiling actually:
>
>http://www.cfquickdocs.com/#Ceiling

Oh heck. I thought it might be ceiling(), but figured it didnt matter if it 
went down .

Will 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301835
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Round Up

2008-03-23 Thread James Holmes
Ceiling actually:

http://www.cfquickdocs.com/#Ceiling

Round might round down; the OP wants to round up always.

On Sun, Mar 23, 2008 at 9:04 PM, Will Tomlinson <[EMAIL PROTECTED]> wrote:
> >is there any function or easy to always round up a number, please?
>  >
>  >Jenny
>
>  Round()
>
>  http://livedocs.adobe.com/coldfusion/6/CFML_Reference/functions-pt274.htm
>
>  Will
>
>
>  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301833
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Round Up

2008-03-23 Thread James Holmes
Sorry, the link shoudl be http://www.cfquickdocs.com/#Ceiling?getDoc=Ceiling

On Sun, Mar 23, 2008 at 8:08 PM, James Holmes <[EMAIL PROTECTED]> wrote:
> Ceiling actually:
>
>  http://www.cfquickdocs.com/#Ceiling
>
>  Round might round down; the OP wants to round up always.
>
>
>  On Sun, Mar 23, 2008 at 9:04 PM, Will Tomlinson <[EMAIL PROTECTED]> wrote:
>  > >is there any function or easy to always round up a number, please?
>  >  >
>  >  >Jenny
>  >
>  >  Round()
>  >
>  >  http://livedocs.adobe.com/coldfusion/6/CFML_Reference/functions-pt274.htm
>  >
>  >  Will
>  >
>  >
>  >  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301834
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Round Up

2008-03-23 Thread Jenny Gavin-Wear
Did this but it looks messy, maybe there is a better way?







#roundNum#




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301832
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Round Up

2008-03-23 Thread Will Tomlinson
>is there any function or easy to always round up a number, please?
>
>Jenny

Round()

http://livedocs.adobe.com/coldfusion/6/CFML_Reference/functions-pt274.htm

Will 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301831
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Round Up

2008-03-23 Thread Jenny Gavin-Wear
is there any function or easy to always round up a number, please?

Jenny



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301829
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: perl function for round-up

2001-09-25 Thread DeVoil, Nick

> what's the perl function to round up a decimal value?

ceil() rounds up to the next integer. It's in the POSIX module.


**
Information in this email is confidential and may be privileged. 
It is intended for the addressee only. If you have received it in error,
please notify the sender immediately and delete it from your system. 
You should not otherwise copy it, retransmit it or use or disclose its
contents to anyone. 
Thank you for your co-operation.
**
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



OT: perl function for round-up

2001-09-25 Thread Mak Wing Lok

sorry for the OT, does any Perl expert out there know what's the perl
function to round up a decimal value? this is my first time doing perl and i
don't seems to find it in the ref. book that i had.


~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: round up to the 500th

2000-05-09 Thread Eric Dawson

I use.


== roundup




== this works too.




Anyway know a quick way to round a value _up_ to the 500th? In other words:

400 -> 500
600 -> 1000
1499 -> 1500
1501 -> 2000

This is for real estate calculations.


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: round up to the 500th

2000-05-09 Thread Lennon Chris Contractor SA-ALC/ADTIC

Or, if you want to avoid the CFIF, you could just do this:



Chris Lennon
A Terra Nova Design Technologies, inc.


-Original Message-
From: me

This should work, I think...


   


where num is an integer to be rounded up to the next 500.
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: round up to the 500th

2000-05-09 Thread Lennon Chris Contractor SA-ALC/ADTIC

This should work, I think...


   


where num is an integer to be rounded up to the next 500.

Chris Lennon
A Terra Nova Design Technologies, Inc.

-Original Message-
From: Park, Simon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 9:34 AM
To: '[EMAIL PROTECTED]'
Subject: round up to the 500th


Anyway know a quick way to round a value _up_ to the 500th? In other words:

400 -> 500
600 -> 1000
1499 -> 1500
1501 -> 2000

This is for real estate calculations.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



round up to the 500th

2000-05-09 Thread Park, Simon

Anyway know a quick way to round a value _up_ to the 500th? In other words:

400 -> 500
600 -> 1000
1499 -> 1500
1501 -> 2000

This is for real estate calculations.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Simon Park  Computer Systems Management, Inc.
[EMAIL PROTECTED]  205 South Whiting Street
Ph: 703-823-4300Suite 201
fax: 703-823-4301   Alexandria, VA  22304
 http://www.csmi.com  
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.