Seiki Batch Script > Mathematical Functions

@pi

Returns the value of mathematical PI

Class: Mathematical

Parameters: None

Syntax: @returnValue=@pi()

Returns: The value of PI

Remarks: The returned value of PI is to 5 decimal places

Example:

//Example for the mathematical @pi method

@d=5.678 //Set value

@result=(@d)*@pi() //Calculate result (= 17.838)

message(@d + “ multiplied by PI is “ + @result) //Display results message