com.epam.fix.message.format
Class DoubleFormatter
java.lang.Object
com.epam.fix.message.format.DoubleFormatter
public class DoubleFormatter
- extends Object
Method Summary |
static 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 double |
parseDouble(byte[] str,
int offset,
int length)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoubleFormatter
public DoubleFormatter()
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)
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.