Formula Functions: Category: Planswift 8 Users Manual - Using Planswift - Templates & Formulas

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5
At a glance
Powered by AI
The document discusses various mathematical functions that can be used in formulas within PlanSwift including trigonometric, logarithmic, and rounding functions.

Functions for basic math operations like multiplication and exponents are available as well as trigonometric functions, rounding functions, minimum/maximum functions, and logarithmic functions.

Round, Ceil, and Floor functions are described for rounding values to the nearest whole number or rounding up/down.

Formula Functions

Category: PlanSwift 8 Users Manual -> Using PlanSwift -> Templates & Formulas

Formula Functions

Here is a list of available functions for use within the estimating item formulas:

Function - Pi Description Returns a value of 3.1415926535897932385. Example Pi * Sqr([Diameter] / 2) This example could be used for finding the area of a circle.

Function - Sqr(Number)

Description Returns a number squared.

Parameters Number This is a numeric value to be squared.

Example Sqr(2) will return 4 Sqr(4) will return 16 Sqr(5) will return 25

Function - Sqrt(Number) Description Returns the square root of a number. Parameters

1/5

Number This is a numeric value to find the square root value of. Example Sqrt(25) will return 5 Sqrt(64) will return 8 Sqrt(144) will return 12

Function - Exp(Number) Description Returns e (the base of natural logarithms) raised to a power.

Parameters Number This is a numeric value to be raised to e. Example Exp(1) will return 2.72 Exp(2) will return 7.39 Exp(3) will return 20.09

Function - Round(Expression) Description Returns a number of the value rounded to the nearest whole number. If X is exactly halfway between two whole numbers (X.5), the result is always the even number. This method of rounding is often called "Bankers Rounding".

Parameters Expression This is a value to be rounded.

2/5

Example 0.5 will round to 0 0.75 will round to 1 1.5 will round to 2

Function - Ceil(Expression) Description Returns a number of the value rounded up to the nearest whole number. This method of rounding is often called "Round Up" Parameters Expression This is a value to round up to the nearest whole number. Example Ceil(1.3) will round to 1 Ceil(1.5) will round to 2 Ceil(2.1) will round to 3

Function - Max(Expression1, Expression2) Description Returns the greater of two numeric values.

Parameters Expression1 This is a value to be used in the evaluation of finding which value is larger. Expression2 This is a value to be used in the evaluation of finding which value is larger.

Example Max(2, 4) will return 4 Max(10, 5) will return 10

Function - Min(Expression1, Expression2)

Description

3/5

Returns the lesser of two numeric values. Parameters Expression1 This is a value to be used in the evaluation of finding which value is smaller. Expression2 This is a value to be used in the evaluation of finding which value is smaller.

Example Min(2, 4) will return 2 Min(10, 5) will return 5

Ln Sin Cos Tan ArcTan Abs ArcCos ArcCosh ArcCot ArcCotH ArcCsc ArcCscH ArcSec ArcSecH ArcSin ArcSinh ArcTan2 ArcTanh Cosecant Cosh Cot Cotan CotH Csc CscH CycleToDeg CycleToGrad CycleToRad DegToCycle DegToGrad DegToRad GradToCycle GradToDeg GradToRad Hypot

4/5

IntPower Ldexp LnXP1 Log10 Log2 LogN Power RadToCycle RadToDeg RadToGrad RandG RandomRange Sec Secant SecH Sinh SLNDepreciation SYDDepreciation Tan Tanh

Article ID: 65 Last updated: 22 Sep, 2010 PlanSwift 8 Users Manual -> Using PlanSwift -> Templates & Formulas -> Formula Functions http://www.planswift.com/kb/entry/65/

5/5

You might also like