Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need help with iLogic code for description decimal place

2 REPLIES 2
Reply
Message 1 of 3
FritscheCAD
227 Views, 2 Replies

Need help with iLogic code for description decimal place

So I have created a custom template for W-Beam creation and I've been able to get iLogic to generate the description for me, "almost", in the format I need, but the LENGTH is just showing up as a number, when it needs to be to (2) decimal places and show trailing zeros.

 

example:     BEAM, W6X9, (34.00" LONG)

what iLogic is giving me:    BEAM, W6X9, (34 LONG)

 

below is some info to help me figure out what I need to do. I've tryed rounding, but either I'm doing it wrong or it's not working for this example.

Any help would be great as I can't rool out this template until the description is fixed.

 

Chris

 

unknown.png

 

unknown.png

2 REPLIES 2
Message 2 of 3
CCarreiras
in reply to: FritscheCAD

Hi!

 

It's easier to find solution and help for these kind of questions here:

 

http://forums.autodesk.com/t5/inventor-customization/bd-p/120

 

Did you find this reply helpful ? If so, use the  Mark Solutions!  Accept as Solution or Give Kudos!Kudos - Thank you!

CCarreiras

EESignature

Message 3 of 3
bretrick30
in reply to: FritscheCAD

Try this....

 

Length = Format(Length, "0.00")

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report