We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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