Package com.epam.fix.message.format
Class DoubleFormatter
java.lang.Object
com.epam.fix.message.format.DoubleFormatter
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
format
(double d, int extPrecision, byte[] buff, int offset) static void
formatWithPadding
(double value, int precision, int padLength, byte[] buffer, int offset) static int
getFormatLength
(double d, int extPrecision) static int
getRequiredFormattedLength
(double d, int extPrecision) static final double
parseDouble
(byte[] str, int offset, int length)
-
Method Details
-
parseDouble
public static final double parseDouble(byte[] str, int offset, int length) -
getFormatLength
public static int getFormatLength(double d, int extPrecision) -
getRequiredFormattedLength
public static int getRequiredFormattedLength(double d, int extPrecision) -
formatWithPadding
public static void formatWithPadding(double value, int precision, int padLength, byte[] buffer, int offset) -
format
public static int format(double d, int extPrecision, byte[] buff, int offset)
-