/** * Converts a double to a string with no padding. * * @param d the double to convert * @return the formatted String representing the double. * @see #convert(double, int) */ public static String convert(double d) { return convert(d, 0); }
/** * Converts a double to a string with no padding. * * @param d the double to convert * @return the formatted String representing the double. * @see #convert(double, int) */ public static String convert(double d) { return convert(d, 0); }
/** * Converts a double to a string with no padding. * * @param d the double to convert * @return the formatted String representing the double. * @see #convert(double, int) */ public static String convert(double d) { return convert(d, 0); }
public void setDouble(int field, double value, int padding) { setField(new StringField(field, DoubleConverter.convert(value, padding))); }
public double getDouble(int field) throws FieldNotFound { try { return DoubleConverter.convert(getString(field)); } catch (final FieldConvertError e) { throw newIncorrectDataException(e, field); } }
public double getDouble(int field) throws FieldNotFound { try { return DoubleConverter.convert(getString(field)); } catch (final FieldConvertError e) { throw newIncorrectDataException(e, field); } }
public double getDouble(int field) throws FieldNotFound { try { return DoubleConverter.convert(getString(field)); } catch (final FieldConvertError e) { throw newIncorrectDataException(e, field); } }
public void setDouble(int field, double value, int padding) { setField(new StringField(field, DoubleConverter.convert(value, padding))); }
public void setDouble(int field, double value, int padding) { setField(new StringField(field, DoubleConverter.convert(value, padding))); }
case PRICEOFFSET: case PERCENTAGE: DoubleConverter.convert(field.getValue()); break; case BOOLEAN:
case PRICEOFFSET: case PERCENTAGE: DoubleConverter.convert(field.getValue()); break; case BOOLEAN:
case PRICEOFFSET: case PERCENTAGE: DoubleConverter.convert(field.getValue()); break; case BOOLEAN: