public class NumberUtils extends Object
Constructor and Description |
---|
NumberUtils() |
Modifier and Type | Method and Description |
---|---|
static double |
coreStringToDouble(Object numberString) |
static int |
coreStringToInt(Object numberString) |
static long |
coreStringToLong(Object numberString) |
static double |
displayStringToDouble(Object numberString) |
static int |
displayStringToInt(Object numberString) |
static long |
displayStringToLong(Object numberString) |
static String |
doubleStringCoreToDisplay(Object numberDouble) |
static String |
doubleStringDisplayToCore(Object numberDouble) |
static String |
doubleToCoreString(double number) |
static String |
doubleToDisplayString(double number) |
static String |
intStringCoreToDisplay(Object numberInt) |
static String |
intStringDisplayToCore(Object numberInt) |
static String |
intToCoreString(long number) |
static String |
intToDisplayString(int number) |
static String |
longToCoreString(long number) |
static String |
longToDisplayString(long number) |
public static String intToDisplayString(int number)
public static String longToDisplayString(long number)
public static String doubleToDisplayString(double number)
public static int displayStringToInt(Object numberString) throws ParseException
ParseException
public static long displayStringToLong(Object numberString) throws ParseException
ParseException
public static double displayStringToDouble(Object numberString) throws ParseException
ParseException
public static String intToCoreString(long number)
public static String longToCoreString(long number)
public static String doubleToCoreString(double number)
public static int coreStringToInt(Object numberString) throws ParseException
ParseException
public static long coreStringToLong(Object numberString) throws ParseException
ParseException
public static double coreStringToDouble(Object numberString) throws ParseException
ParseException
public static String doubleStringDisplayToCore(Object numberDouble) throws ParseException
ParseException
public static String doubleStringCoreToDisplay(Object numberDouble) throws ParseException
ParseException
public static String intStringDisplayToCore(Object numberInt) throws ParseException
ParseException
public static String intStringCoreToDisplay(Object numberInt) throws ParseException
ParseException
Copyright © 2015–2021 Fiji. All rights reserved.