public class IESDataFormatUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
convertDoubleToStringWithMaxLength(java.lang.StringBuilder sbValue,
double value,
int maxLength)
Convert a double value into a string with the maximal allowed length of maxLength.
|
public static void convertDoubleToStringWithMaxLength(java.lang.StringBuilder sbValue,
double value,
int maxLength)
throws WrongScalingException
value - the value to convertmaxLength - The maximal allowed length with all signs.sbValue - StringBuffer for the return valueWrongScalingException - will thrown if converted value is bigger then maxLength