Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!olivea!oliveb!amdahl!JUTS!bzr10 From: bzr10@ccc.amdahl.com (Bruce Richardson) Newsgroups: comp.lang.rexx Subject: Re: Dollarizing Keywords: format formatting Rexx Message-ID: <2eu=02Fz078g01@JUTS.ccc.amdahl.com> Date: 29 Apr 91 20:42:27 GMT References: Reply-To: bzr10@JUTS.ccc.amdahl.com Bruce Richardson Organization: Amdahl Canada Ltd. Lines: 11 Regarding the 'dollarizing' of numeric values, try using format or trunc functions (format rounds up, trunc doesn't): use any_var=format(any_value,,2) or any_var=trunc(any_value,2) I'm using CMS Rexx for this - from the help files, the syntax is: format(number(,(before)(,(after)(,(expp)(,expt))))) and trunc(number(,n)) the inner brackets are the optional items (ie should be in square brackets). Regards, Bruce Richardson