Java Abs abs(float value)

Here you can find the source of abs(float value)

Description

abs

License

Open Source License

Declaration

public static float abs(float value) 

Method Source Code

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

public class Main {
    public static float abs(float value) {
        return value >= 0.0F ? value : -value;
    }/*from  w  w  w  . j  a  v  a  2  s .com*/
}

Related

  1. abs(final double value)
  2. abs(final double x)
  3. abs(final int pNumber)
  4. abs(float f)
  5. abs(float value)
  6. abs(float[] items)
  7. abs(float[] values)
  8. abs(int i)
  9. abs(int n)