cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

itos function not rounding off my dimension, any solutions?

simran
6-Contributor

itos function not rounding off my dimension, any solutions?

Hello all,

1. I am using itos function to assign values to variables to be displayed in the drawing in a specific formt. So far its going good and itos command always rounds off the value of a dimension and then assign it to the variable for display. But in one of the part I am having this issue that its not rounding off the value of a dimension, i have taken this dimension from analysis tool and saved it as feature in the model tree as "LAENGE" (means length in English). Help me out here.

2. Also i have another problem that sometimes I want a specific dimension value not to be rounded off when it is called using itos function, what would be the function for that, which i should use in my program?

Images are attached regarding number 1 for clarification.

1 REPLY 1
KenFarley
21-Topaz I
(To:simran)

A "trick" I use to round numbers is, instead of just using ITOS on the number, like

ITOS ( number )

I do the rounding myself, with something like

ITOS ( floor ( number + 0.5 ) )

It makes my relations longer, but works nicely.

Top Tags