We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2017-06-27 01:13 PM
2017-06-27 03:00 PM
JGoode wrote:ZZ = 3 ! an integer
For some reason when I set an integer parameter it displays 6 decimal points after the number. How can I remove these decimal points?
2017-06-27 03:12 PM
SL_GDL wrote:What if I don't want any decimal points?JGoode wrote:ZZ = 3 ! an integer
For some reason when I set an integer parameter it displays 6 decimal points after the number. How can I remove these decimal points?
UI_OUTFIELD str ("% 0.1", ZZ), 10, 30, 25, 16 ! 1 decimal point
Or directly:
UI_OUTFIELD str (77, 3, 0), 10, 50, 30, 16 ! 77 is the number
Or you can make a request to the working environment.
Dform = "% 0.0" !!! integer
QW = REQUEST ("Linear_dimension", "", Dform)