Java Abs Absolute(int a)

Here you can find the source of Absolute(int a)

Description

Absolute

License

Creative Commons License

Declaration

public static int Absolute(int a) 

Method Source Code

//package com.java2s;
//License from project: Creative Commons License 

public class Main {
    public static int Absolute(int a) {
        return (a > 0 ? a : -a);
    }/*from w  w  w  .  j  a va  2s. com*/
}

Related

  1. absDiff(long x, long y)
  2. absHash(Object obj)
  3. absNeg(final int a)
  4. absNeg(long a)
  5. absNegativeZeros(float f)