Rounding sort of ....

Wayne Smith smittyusn1 at gmail.com
Tue Mar 6 15:47:59 PST 2018


I have a client that wants to take a whole 10,.2 number and if the cents
are ge .51 add a 1.00 to the total calculation.

if the cents are le .50  then take away cents and leave whole numbers.

I have tried some simple things ....in input.prc with no luck ...the list
is very slow ....one of you brains out there must know a simple math trick
in fp to solve this ....thanks ahead of time.

Windows 10,  FP 5.8

-- 
Wayne Smith
Port Orange, Florida
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20180306/0cd2796d/attachment.html>


More information about the Filepro-list mailing list