Java sqr sqr(double x)

Here you can find the source of sqr(double x)

Description

Returns square of specified number.

License

Open Source License

Parameter

Parameter Description
x number to count square

Return

square of given number

Declaration

public static double sqr(double x) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**//from   www. j a  v a 2  s.c  om
     * Returns square of specified number.
     * @param x number to count square
     * @return square of given number
     */
    public static double sqr(double x) {
        return (x * x);
    }
}

Related

  1. Sqr(double dblX)
  2. sqr(double x)
  3. sqr(final float f)
  4. sqr(final int value)
  5. sqr(float a)