Seiki Batch Script > Mathematical Functions

@pow

Returns a specified floating point number raised to the specified power

Class: Mathematical

Parameters:  @x – A floating point number to be raised to a power

                     @y – A floating point number that specifies the power

Syntax: @returnValue=@pow(@x, @y)

Returns: The number @x raised to the power @y

Remarks: None

Example:

//Example for the mathematical @apow method

@x=1.234 //Set number value

@y=5.678 //Set power value

@result=@pow(@x, @y) //Calculate result (= 3.2998)

message(@x + “ to the power of “ + @y + “ equals “ + @result) //Display results message