Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

PB Format Problem

Status
Not open for further replies.

wrightce16

Industrial
Mar 15, 2016
27
I working on a PB_CMD.TCL file and I trying to reformat the following:
"mom_tool_nose_radius" to a 1.4 output --> right now it's coming out of the post
as 0.04600000000000000 and I want --> .0460
Please, any help would be appreciated.
 
Replies continue below

Recommended for you

Your tool nose radius is unformated try this.

[format %1.4f $mom_tool_nose_radius]
 
Works like a champ!!
Thank-you
Curtis E. Wright
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor