Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Real number type of pascal function
Real number type of pascal function

in the following arithmetic functions, x can be an expression of real or integer numbers. For functions Abs and Sqr, the result types are the same as those of variable X, and the result types of other arithmetic functions are real.

absolute value function Abs(x): the function value is the absolute value of X ..

square function Sqr (x): the function value is the square of X ..

fractional function Frac (x): the fractional part whose function value is x.

integer function Int (x): the integer part whose function value is x.

sine function Sin (x): sine with the function value of x, where, is in radians.

cosine function Cos (x): the cosine with the function value of x, where the unit of is radian.

exponential function Exp (x): the function value is e X ..

logarithmic function Ln (X): the natural logarithm whose function value is X ..

Sqrt (x) of square positive root function: square positive root with function value of X .. Note: even if the value parameter x of sqrt is an integer, the return value is a real number. If you want to round up, use the function trunc (explained in "Mathematical Functions and Processes" and not explained here)

Arctan(x function (x): the arctangent with the function value of x in radians.

Random function: when there are no independent variables, the function value is a random decimal between (,1); When there are independent variables and they are of Word type, the function value takes a random integer between (, independent variables).