Yes, it would do that. Have to keep that one in mind, instead of the old INT(#+.5) if going to a whole number
-----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dave Davis Sent: Wednesday, May 08, 2013 9:40 AM To: U2 Users List Subject: Re: [U2] Illegal use of the file, select, cursor, BCI, Socket, HTTP, XML, SCTX , MQS, SOAP or database variable. It doesn't do nothing - it rounds - if the input value is 55.5 you get 56 as output. It only does nothing if your input is a whole number.; -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of dale kelley Sent: Wednesday, May 08, 2013 9:37 AM To: U2 Users List Subject: Re: [U2] Illegal use of the file, select, cursor, BCI, Socket, HTTP, XML, SCTX , MQS, SOAP or database variable. George, After sending it I thought, "Well,... that OCONV acomplishes nothing!" Dale On 05/08/2013 08:32 AM, George Gallen wrote: > What purpose will the OCONV(var,"MD0") serve? > > -----Original Message----- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of dale kelley > Sent: Tuesday, May 07, 2013 6:06 PM > To: U2 Users List > Subject: Re: [U2] Illegal use of the file, select, cursor, BCI, Socket, HTTP, > XML, SCTX , MQS, SOAP or database variable. > > if var is XXX.XX > ICONV(var,"MD2") then OCONV(var,"MD0") > > Dale > _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users