SQUARE in JS
Unfortunately, JavaScript does not provide a method to calculate the square of a number directly. This can be solved using the pow function.
Sample Source Pattern
Implementation of stored procedure
Arguments
exp
: Numeric expression to be raised.
Return Type
Float.
Last updated