Quantcast
Channel: OpenPlant | AutoPLANT Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4153

How to get the round value for string type property?

$
0
0

Hello Everyone,

i have an string type property for PIPE, "CUT_LEN" added in the schema.

string expression is set as  IIF(this.EC_CLASS_NAME = "PIPE", (this.LENGTH + this.FIELD_FIT_LENGTH) & " mm", "1")

Everything works fine but the precision value in CUT_LEN property shows multiple digits.i.e. CUT_LEN=4877.82456595192 mm

how to round of this values?

that means CUT_LEN= 4877 mm

Thanks in Advance!

Regards,

Vishal


Viewing all articles
Browse latest Browse all 4153

Trending Articles