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
Brynn, An additional use of the System.Math.Round would be to round to a specific number of decimal places. This can be accomplished by the expression System.Math.Round(this.BOLT_DIA,1) . This will round the value to one decimal place. Changing the 1 to a 2 will result in 2 decimal places, and so on. 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>