com.atlassian.bamboo.util
Class NumberUtils
java.lang.Object
com.atlassian.bamboo.util.NumberUtils
public class NumberUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberUtils
public NumberUtils()
min
public static int min(int a,
int b)
max
public static int max(int a,
int b)
round
public static double round(double val,
int places)
round
public static float round(float val,
int places)
padWithZeroes
public static String padWithZeroes(double value,
int numberOfZeroes)
padWithZeroes
public static String padWithZeroes(int value,
int numberOfZeroes)
padWithZeroes
public static String padWithZeroes(long value,
int numberOfZeroes)
stringToDouble
public static double stringToDouble(String s)
stringToLong
public static long stringToLong(String s)
stringToInt
public static int stringToInt(String s)
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.