# decimal places in parameters

i have mass parameters calculated as follows:
/*
/* CALCULATE THE MASS_* VALUES
/*
mass_kg = mp_mass("")
mass_lb = mass_kg /
.4536
/*
/* END MASS_* RELATIONS
they result in 2 decimal place numbers. how do i change the number of
decimal places shown?
thanks
Loading thread data ...
Don't know that BUT in WF, you should be using pro_mp_mass, not mp_mass("").
: wrote : i have mass parameters calculated as follows: : : /* : /* CALCULATE THE MASS_* VALUES : /* : mass_kg = mp_mass("") : mass_lb = mass_kg / .4536 : /* : /* END MASS_* RELATIONS : : : they result in 2 decimal place numbers. how do i change the number of : decimal places shown? : Write the parameter in a note as &mass_kg[.2] The decimal point and number in brackets tells Pro/e how many decimal places to display. Don't remember if it truncates or rounds.
David Janes
this doesn't change the display of a model tree column displaying the parameter (I don't think!)
: wrote : this doesn't change the display of a model tree column displaying the : parameter : (I don't think!) : Yeah, Pro/e's goofy that way. It assumes that, if you'd wanted the parameter to change, you'd have changed the model in some way that would have effected the mass. So, do what it wants (or something like it, such as) suppress a feature and resume it. This should cause a recalc of mass in your relation, and so, in the drawing note that uses that parameter.
If this doesn't work, I've got another method that's less goofy.
David Janes

#### Site Timeline

• CAD users sometimes experience pain while working long hours on their computer....
• next in

## PRO/Engineer (Creo) discussions

• does anyone know how to lighten up the weak dims in wf & wf2? can't hardly see...
• previous in

## PRO/Engineer (Creo) discussions

• Even I check the all dependencies everything looks good. All the sub components...
• last updated in

## PRO/Engineer (Creo) discussions

• Even I check the all dependencies everything looks good. All the sub components...
• last posted in

## PRO/Engineer (Creo) discussions

• Coraz ich więcej na AliExpress, faktycznie będzie to przełom w dziedzinie...
• site's last updated in

## Engineering Science (Polish)

• I've been using Mobile Vactra #2 Way oil for some years in the ways on all my...
• site's newest in

## ⏣ General Metalworking

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.