public class DoubleFormatter extends Object
Constructor and Description |
---|
DoubleFormatter() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final double parseDouble(byte[] str, int offset, int length)
public static int getFormatLength(double d, int extPrecision)
public static int getRequiredFormattedLength(double d, int extPrecision)
public static void formatWithPadding(double value, int precision, int padLength, byte[] buffer, int offset)
public static int format(double d, int extPrecision, byte[] buff, int offset)
Copyright © 2000–2022 EPAM Systems. All rights reserved.