Quantcast
Channel: OpenPlant | AutoPLANT
Viewing all articles
Browse latest Browse all 12277

Forum Post: RE: Is the an EC Expression to round to whole numbers in Class Editor

$
0
0
Hello Brynn, This should be able to be accomplished using System.Math Symbol Sets. To do this: Right click on the field Required ECExpression SymbolSets . Select to add a symbol set and enter in System.Math . In the ECExpression field enter the expression as "STUDS, " & System.Math.Round(this.BOLT_DIA) & "mm DIA x " & this.DESCRIPTION This will force rounding of the value as follows: a value of 1.1 to 1.5 will round to 1 and 1.51 to 1.99, will round to 2. I hope this helps, Tony DeRosa Senior Consultant Bentley Plant

Viewing all articles
Browse latest Browse all 12277

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>