Tan()
This function returns the tangent of an angle. The return value is of type double.
- Read more about Tan()
- Log in or register to post comments
Sqr()
This function returns the square root of a number. The return value is a double type.
- Read more about Sqr()
- Log in or register to post comments
Sin()
The Sin function returns the sine of an angle. The return value is of type double.
- Read more about Sin()
- Log in or register to post comments
Sgn()
This function will return an indicator of the sign. If the number is negative it returns -1, if positive it returns 1 and if it is 0 it returns 0. The return value is an integer type.
- Read more about Sgn()
- Log in or register to post comments
TypeName()
Need to add explanation.
- Read more about TypeName()
- Log in or register to post comments
VarType()
Need to add explanation
- Read more about VarType()
- Log in or register to post comments
Round()
The round function will return a specified value to the nearest number, the default value is to the nearest 0, if you wish to the nearest decimal point the function would be Round(number, numer of decimals). I haven't found a way to round to the nearest tenths or more (one way to get around this is first divide your number by 10, assuming you want to round to the nearest tenths, them do the default round and finally multiply by 10, see the last example). Also the return value is the same type as the value that is being rounded, so if the number is a double the return value is a
- Read more about Round()
- Log in or register to post comments
Log()
This function calculates the natural log (base e) of the specified number. The value that is returned is of a type double. To see an example of how to calculate the log of a base 10 see the snippets section.
- Read more about Log()
- 2 comments
- Log in or register to post comments
Exp()
Returns a number containing the base of a natural logarithm (e) raised to the specified power. The return value is a double type.
- Read more about Exp()
- Log in or register to post comments
Cos()
Calculates the cosine of a specified angle. It returns a double value.
- Read more about Cos()
- Log in or register to post comments