rounding up to next number

Ed Hilovsky lgf at lgfcomputers.net
Fri Feb 17 13:33:51 PST 2012


Don't know about an edit, but a simple process would mid off the decimal  
amount ant if it is greater than zero add 1

Connected by DROID on Verizon Wireless

-----Original message-----
From: "scooter6 at gmail.com" <scooter6 at gmail.com>
To: filepro-list at lists.celestial.com
Sent: Fri, Feb 17, 2012 21:27:04 GMT+00:00
Subject: rounding up to next number

I have a processing set that needs to count the number of records selected
and then divide by '10'
Suppose the number of records is 73 - so my processing divides by 10 and
the result is 7.3

I need to round up to the next whole number....so I need the resulting
answer to be '8' in this case
(meaning anything above a number should round up to next number, even if it
was 7.1, etc - it should round up to 8)

Trying to determine how to write an edit for this or is there already
something inherent in filePro that will round up but doesn't require it to
be 7.5 or higher to round up
Hope that makes sense ha

Any suggestions?

Scott
PDM
-------------- next part --------------
An HTML attachment was scrubbed...
URL:  
http://mailman.celestial.com/pipermail/filepro-list/attachments/20120217/3be3 
2c17/attachment.html 
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes
http://mailman.celestial.com/mailman/listinfo/filepro-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20120217/4d1e7838/attachment.html 


More information about the Filepro-list mailing list