cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Starting August 6, 2024, TLS 1.2 will be the minimum required protocol version for Graphisoft products and services that require an online connection. License Manager Tool update is required on Windows. Learn more…
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Rounding

Anonymous
Not applicable
Is there a GDL routine to round a number up to the next whole. ie 17.1 to 18?
4 REPLIES 4
Anonymous
Not applicable
Hello Doug,
Check out the arithmetical function ceil().
Peter Devlin
Anonymous
Not applicable
Thanks Peter, I'll give it a look.
Anonymous
Not applicable
Perfect fix Peter!! I did searches for round..rounding..round up..nothing. AC just has some strange names for things. Thanks
Anonymous
Not applicable
Hello Doug,
I am afraid that doing word searches in the GDL manual is not
the way to go unless you are trained in mathematics.
Many of the terms, command names, explanations etc
are derived from mathematical and computer terms.
Ceil and int are typical examples.
There is no substitute for reading the GDL manual.
Peter Devlin