How to round down a number in the relations
How to round down a number in the relations
(OP)
Hi everyone!
I would like to create parts based on relations and I would like to know if there is function to round down a number?
In example :
L1 = 10
L2 = 1.5
a = L1/L2 (= 6.6666)
Then I would like to declare another attribute equal to "a" rounded down.
Final_attribute = a (= 6)
Is there a solution?
Thanks for your help!
I would like to create parts based on relations and I would like to know if there is function to round down a number?
In example :
L1 = 10
L2 = 1.5
a = L1/L2 (= 6.6666)
Then I would like to declare another attribute equal to "a" rounded down.
Final_attribute = a (= 6)
Is there a solution?
Thanks for your help!





RE: How to round down a number in the relations
a = floor(L1/L2)
It's been 3 years + since I've been on Pro/E but so my memory my have faded.
See the following for more:
http://www.eng-tips.com/faqs.cfm?fid=970
--
Fighter Pilot
Manufacturing Engineer
RE: How to round down a number in the relations
It's exactly what I was looking for! Your memory seems to be intact!