comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » round up numbers
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: round up numbers [message #91847 is a reply to message #91846] Fri, 04 September 2015 01:08 Go to previous messageGo to previous message
Alain Kattnig is currently offline  Alain Kattnig
Messages: 9
Registered: November 2009
Junior Member
Le vendredi 4 septembre 2015 10:00:26 UTC+2, Dete van Eeden a écrit :
> Hi
>
> I want to round off numbers to the next integer only
>
> for example
>
> 24,234 should be 25
>
> I know fix() rounds it down but how do I round it up even if its smaller than .5?
>
> Thank you

You use CEIL() to go up and ROUND() for the nearest integer


Best
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: round up
Next Topic: OPENW

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 01:20:39 PDT 2025

Total time taken to generate the page: 0.71751 seconds