AUS 1300 423 372 | NZ 0800 900 889
$0.00 0

Cart

No products in the cart.

Latest offers MyCi login My account

Round Up Numbers With Solidworks Equations

November 4, 2024
Home » Resources » Tips & Tricks » Round Up Numbers With Solidworks Equations

Round Up Numbers With Solidworks Equations

SOLIDWORKS Equation is a very convienient tool for automatically calculating dimensions, feature parameters during modelling.

Sometimes you need to round up or round down to an integer (i.e. determine the number of pattern features).

There are two functions included in SOLIDWORKS: int() and round().

For int(), it rounds down the value to the closest integer.

For round(), it rounds the value either up or down to the closest integer.

The problem here is, there is no build-in round up function. so what if you need to round up a number?

Here is the way to achieve that:

  • use the if() function: = IIF ( ( “Round up value” – int ( “Round up value” ) ) > 0 , int ( “Round up value” ) + 1 , “Round up value” ):

Enquire now

The best solution is the one tailored to your needs. Complete the form below and our friendly team will be in touch.
This field is hidden when viewing the form
This field is hidden when viewing the form
This field is hidden when viewing the form

Enquire today

The best solution is the one tailored to your needs. Complete the form below and our friendly team will be in touch.
This field is hidden when viewing the form
This field is hidden when viewing the form
This field is hidden when viewing the form
This field is hidden when viewing the form

Contact us

The best solution is the one tailored to your needs. Complete the form below and our friendly team will be in touch.
This field is hidden when viewing the form
This field is hidden when viewing the form
This field is hidden when viewing the form