Skip to content
07-848 2005

SketchUp, SketchUp desktop

Math function examples for SketchUp Dynamic Components

Use math functions in SketchUp Dynamic Components. Find each function's syntax, description and examples.

Math functions for SketchUp Dynamic Components

Function

Description

Examples

ABS(number)

ABS returns the absolute value of a number.

Example:
View SketchUp example

CEILING(number, significance)

CEILING rounds a number to the nearest integer or multiple of significance. The significance argument is the value whose multiple of ten is the value to be rounded up (.01, .1, 1, 10, etc.).

Example:
View SketchUp example

DEGREES(number)

DEGREES converts a number from radians to degrees.

Example:
View SketchUp example

EVEN(number)

EVEN rounds a number up to the nearest even integer.

Example:
View SketchUp example

EXP(number)

EXP returns e raised to the power of the number.

Example:
View SketchUp example

FLOOR(number, significance)

FLOOR rounds a number down to the nearest multiple of significance.

Example:
View SketchUp example

INT(number)

INT rounds a number down to the nearest integer.

Example:
View SketchUp example

ISEVEN(number)

ISEVEN returns TRUE if the number is an even integer, or FALSE if it is odd. If the number is not an integer, ISEVEN evaluates only its integer part.

Example:
View SketchUp example

ISODD(number)

ISODD returns TRUE if the number is an odd integer, or FALSE if it is even. If the value is not a number, ISODD evaluates only the integer part of the number.

Example:
View SketchUp example

LN(number)

LN returns the natural logarithm of a number, using the constant e as its base.

Example:
View SketchUp example

LOG10(number)

LOG10 returns the base-10 logarithm of a number.

Example:
View SketchUp example

ODD(number)

ODD rounds a number up to the nearest odd integer.

Example:
View SketchUp example

PI()

PI returns the value of PI to fourteen decimal places.

RADIANS(number)

RADIANS converts a number from degrees to radians.

Example:
View SketchUp example

RAND()

RAND returns a random number between 0 and 1.

Example:
View SketchUp example

RANDBETWEEN(bottom, top)

RANDBETWEEN returns a whole number between the bottom and top numbers.

Example:

=RANDBETWEEN(1,3)
This example returns 1, 2 or 3.

View SketchUp example

ROUND(number, count)

ROUND uses standard mathematical rounding to round a number to a specified number of decimal places. The optional count argument sets the number of places. If count is negative, ROUND rounds only the whole number portion.

Example:

=ROUND(1.12789,2)
This example returns 1.13.

View SketchUp example

SIGN(number)

SIGN returns the sign of a number. It returns 1 for a positive number, -1 for a negative number, and 0 for zero.

Example:
View SketchUp example

SQRT(number)

SQRT returns the positive square root of a number. The number must be positive.

Procadsys customer support

Still need help?

Licences, renewals and billing

Our New Zealand team looks after your SketchUp licences, renewals and invoices.

Monday to Friday, 9:00 am to 4:30 pm NZ time, excluding New Zealand public holidays.

Technical problems

Technical support from our New Zealand team is available with a current Procadsys SketchUp Plus subscription: Pro Plus, Pro Scan Plus, Pro Civil Contractor Plus, Pro Advanced Workflows Plus or Studio Plus.

Initial response within one business day.

On another SketchUp plan? Technical problems go to Trimble support.