kkroeze Posted November 2, 2019 Share Posted November 2, 2019 Hello everybody. Is there an option to round the value of a parameter down to an integer. for example, 3.75 becomes 3 Hopefully somebody can help me With kind regards Klaas Jan Kroeze Quote Link to comment Share on other sites More sharing options...
Jonas@Solidmakarna Posted November 4, 2019 Share Posted November 4, 2019 (edited) Hi, Try using INT in the Expression, for example to change the quantity (Scalar) in a Pattern. INT( (ALR / RBPD) ) Where ALR is the Assembly Length Read (which uses the expression Sizebox\Length) divided with RBPD (Round Bar Pattern Distance (=c-c distance between the pattern instances of rods)). Without INT the result could have many decimals, but now it gives an integer value. Here's an IC Catalog with parametric models that I've made for training, though it uses mostly Swedish comments and Parameter Names.ParametriskaModeller2019.icc Edited November 4, 2019 by Jonas@Solidmakarna Quote Link to comment Share on other sites More sharing options...
kkroeze Posted November 4, 2019 Author Share Posted November 4, 2019 Hello Jonas, Thank you for your answer, this is exact what i need. Many Thanks Klaas Jan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.