Focal Point
HOW TO ROUND A DECIMAL?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2721088331

July 25, 2005, 10:18 AM
<sasmita>
HOW TO ROUND A DECIMAL?
Hi,
Does anybody have any idea as to how to round a decimal to the nearest dollar ? i.e. for instance less than 0.50 - round down & greater than and equal to 0.50 - round up.

Thanks.
July 25, 2005, 11:27 AM
Tony A
I can't believe that you need to ask this type of question - but try this approach -

TABLE FILE CAR
SUM COMPUTE RC/D12.2 = RCOST / 100 ;
COMPUTE RC1/I10 = RC + .5 ;
BY COUNTRY
END
July 25, 2005, 01:20 PM
<sasmita>
Hi Tony - thanks for the info....i have just started learning webfocus - so i have a long way to go...in case you can add some thing else about rounding decimals, please let me know.
Have a good day!
July 25, 2005, 01:41 PM
Francis Mariani
If you have just started working with WebFOCUS, hopefully you have manuals to consult.

They're available on the IBI site.
July 25, 2005, 02:06 PM
<DocServices>
Hello,

If you are new to Developer Studio, try the Developer Studio Application Development Getting Started manual (DN4500702.0505).

To learn more about ReportCaster, see the: Java Web Applet interface in the ReportCaster Development and Administration manual (DN4500680.0505) and the HTML user interface in the ReportCaster End User�s Manual (DN4500679.0505)

To learn more about Maintain, see the WebFOCUS Maintain Getting Started manual (DN4500693.0505).

To learn more about Managed Reporting, see the:
Managed Reporting Administrator's Manual (DN4500690.0505), Managed Reporting Developer's Manual (DN4500689.0505, and/or the Managed Reporting End User's Manual (DN4500688.0505)


I hope this helps.

Regards,
Jenn