# Dimension Rounding?

• posted

I have dimensioned a feature and it shows as 1.745. When I change the Primary Unit Precision to 2 deciaml places the dimension shows as 1.74. I would expect to see 1.75. But anyway I've searched all through the Options and the help file and I can't find anyway to change the 'rounding' behavior. Am I missing something?

-- Jeff

• posted

Show the dimension with four or five decimal places and you'll probably see why (it's probably 1.7449 or something).

Eric

Not Necessarily Me wrote:

• posted

That may be, but shouldn't it still round like this: 3 places = 1.745, 2 places 1.75 . But actually I was asking if Solidworks had any options to change the way numbers are rounded. I seem to remember that you can change this autocad, maybe solidworks doesn't give this option.

• posted

This very subject was just discussed a couple of months ago. Refer to this thread.

• posted

Thanks,

I didn't know that this behavior was the correct rounding procedure.

• posted

But the question is, does it make sense to you now?

• posted

Yes Rounding 1.745 is 1.74 but if you round 1.7451 (emphasis on the '1') then it is 1.75 so until you crest past the "5" in the number it is rounded down. For that matter 1.74500000000001 is 1.75 but not until you have past 5

Ben

• posted

1.7445 will round to 1.745 with 3 dec places or 1.74 with only 2 dec places.

1.7450 will round to 1.75 with only 2 dec places.

It all depends on what the starting dimension is without rounding.

• posted

Ben,

That's not entirely correct.

If everything beyond the 5 in 1.745 is 0, then this number would round to

1.75, not 1.74 as you stated. It does not have to be 1.74500001. It could be 1.7450000infinity.

You don't have to go "past" (higher than) 5 for it to round up. The rule is as long as it is 5 OR higher. You have to look at the digits beyond the 5 in order to see if it is in fact 5 or higher. It may be that 1.745 is simply 1.7449 that has been rounded to 3 places. If that's the case, then it WOULD round to 1.74 at 2 places.

• posted

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.