Search the Community
Showing results for tags 'trailing'.
-
iLogic for Custom IProperties - how to retain trailing zeroes
DS-precast posted a topic in Autodesk Inventor
Hello All I have a simple iLogic Rule which converts the Mass (kg) iProperty into a Custom iProperty measured in tonnes, to 2 decimal places. [color=#800080][b]iProperties[/b][/color][color=#000000].[/color][color=#800080][b]Value[/b][/color][color=#000000][b]([/b][/color][color=#008080]"[/color][color=#008080]Custom[/color][color=#008080]"[/color][color=#000000], [/color][color=#008080]"[/color][color=#008080]Weight (T)[/color][color=#008080]"[/color][color=#000000][b])[/b][/color][color=#000000][b]=[/b][/color][color=#800080][b]Round[/b][/color][color=#000000][b]([/b][/color][color=#800080][b]iProperties[/b][/color][color=#000000].[/color][color=#800080][b]Mass[/b][/color][color=#ff0000][b]/[/b][/color][color=#000000][b]1000[/b][/color][color=#000000],[/color][color=#000000][b]2[/b][/color][color=#000000][b])[/b][/color] The problem I have is that the iProperty value seems to remove trailing zeroes, (ie. it will display '0.8' when I require it to display '0.80'. Could anybody please indicate how to overcome this issue? Many thanks- 2 replies
-
- iproperties
- inventor
-
(and 3 more)
Tagged with: