Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

rounding off parameter

  • Thread starter Thread starter robo_kk
  • Start date Start date
R

robo_kk

Guest
Hi,

I have a quick question. When I make a drawing and i take dimensions from parameters, i get three zeros after decimal. How can i round it to one zero or none?

Thanks,
Robert

View attachment 6352
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    11.6 KB · Views: 12
After the parameter, use [.x], where x is the number of decimal places.
 
thank you robertib!
 
As a side note. I know when I do this on a drawing I often also need to drop a leading zero in the parameter.

You can do this my editing the "lead_trail_zeros_scope" option in the dtl file. It defaults to "dims" only. If you set this option to "all" it will drop leading zeros from parameters references in notes etc.
 

Part and Inventory Search

Sponsor

Back
Top