Mathematical functions of ASP

xiaoxiao2021-03-25  213

function

grammar

Features

ABS

ABS (NUM) Returns an absolute value of a number

SQR

SQU (NUM) Returns a number of square roots

Sin

SIN (NUM) Returns the sinusiness of the angle

COS

COS (NUM) Returns the cosine value of the angle

Tan

Tan (NUM) returns the positive cutting value of the angle

ATN

ATN (NUM) Returns an annectable value

Log

Log (NUM) Returns a number of logs

Int

INT (NUM) Function function, return to less than or equal to Number first integer

FormatNumber

FormatNumber (NUM1, NUM2) is transformed into a number of specified decimal numbers (NUM2)

RND

RND () returns a random number of 0 to 1

Ubound

Ubound (array name, dimension) Returns the maximum number of subscripts of the array, such as only one dimension, can omit the number of dimensions

转载请注明原文地址:https://www.9cbs.com/read-130449.html

New Post(0)