Subject: lower whole number, upper whole number нижнее целое число? верхнее целое число?Rounding off to the lower whole number Approximates a non-whole value to the lower whole number nearest to the original value. Syntax FIX(expr) Example: VARA = FIX(3.123) The result of the operation is 3. Rounding off to the upper whole number Approximates a non-whole value to the upper whole number nearest to the original value. Parametric programming DP 91759.DP.0.GB Esa/Gv 4.6 Syntax FUP(expr) Example: VARA = FUP(3.123) The result of the operation is 4. Trigonometric operators The operators listed below use variables or constants that express angles as operands, or supply an angle as a result. The numeric characteristic of the angles is that their value is periodic, i.e. values beyond the -360ø to +360ø range can be brought back within this range. The operation used to bring the value of an angle back within the illustrated range is called normalizing the angle. Normalizing an angle is obtained by applying the 360° modulus function to the angle to be normalized. Syntax ALPHA = MOD(BETA,360) Normalizes the value of the angle in the BETA variable and sets the result in the ALPHA variable.
|