Dimension Rounding?

Apr 05, 2006 9 Replies

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


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:

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.

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

formatting link

Thanks,

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

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

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

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.

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.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required