Re: Truncating Result for reporting
Posted in 1997
Topics: General Discussion
Dear friend, tips to formatting numbers are send for you by Dennis Pimple (Informix). But if you want to select a scope from a number, i.e. 24536.8746 to 24500 therefore is the SQL-statement TRUNC. Use so: TRUNC (24536.8746,-2) => 24500 or TRUNC (24536.8746,0) => 24536 and so on ... Regard !!! There is no rounding ..... Greetings Jochen Lorenz wb-lorenz@coburg-aktuell.de ---------------------------------------------------------------------------- -------------------- INDECO ENGINEERS PTE LTD - VEHICLES & EQUIPMENT DIVISION schrieb in Nachricht <01bd0535$fee0e8c0$32038584@bdg>... >To : All informix experts > >Can someone teach me how to truncate a mathematics calculation for >reporting purposes? > >Is such feature available in Informix. > >Kindly advise. >Katherine >email : ieplved@singnet.com.sg > >Thanks Thanks ...... >