Select Page
Home / Resources / CAD Help / Miscellaneous / Math Functions

Math Functions

Math functions can be used on the numeric bar in place of fixed values. For example you could enter 3/8 instead of 0.375 or set the length of a line to 3 – 0.15 instead of 2.85. 

The following binary operators are supported:

  • Addition +
  • Subtraction –
  • Multiplication *
  • Division /
  • Modulus mod 
  • Raise to the power: ^ 

The following single parameter functions are supported:

  • Absolute value: Abs ()
  • Arc Tangent: Atan ()
  • Cosine: Cos ()
  • Sine: Sin ()
  • Exponent: Exp ()
  • Natural logarithm: Ln ()
  • Round to nearest integer: Round ()
  • Square root: Sqrt ()
  • Square: Sqr ()
  • Round down to nearest integer: Trunc ()

The following two parameter functions are supported (semicolons between parameters):

  • Minimum: min (x;y) 
  • Maximum: max (x;y)

Note: Angles are in radians

Examples:

  • 5/4 = 1.2
  • 10 mod 3 = 1
  • 2 ^ 3 = 8
  • Round (1.9) = 2
  • Sqrt (2) = 1.414…
  • Square (2) = 4
  • Trunc (1.9) = 1
  • Min (5,2) = 2


Was this information helpful? YES SOMEWHAT NO