@Test public void BigDecimalからのconvertテスト() { BigDecimal f = new BigDecimal("255.255"); Float expected = 255.255f; Float actual = new FloatConverter().convert(f); assertEquals(expected, actual); }
public Float convert(Double d) { return d.floatValue(); }
FloatConverter implements TypeConverter<Float> { public Float convert(Double d) { return d.floatValue(); } }
FloatConverter implements TypeConverter<Float> { public Float convert(Double d) { return d.floatValue(); } FloatConverter(); }
FloatConverter implements TypeConverter<Float> { public Float convert(Double d) { return d.floatValue(); } FloatConverter(); Float convert(Double d); Float convert(BigDecimal bd); Float convert(Long bd); Float convert(String v); }
FloatConverter implements TypeConverter<Float> { public Float convert(Double d) { return d.floatValue(); } FloatConverter(); Float convert(Double d); Float convert(BigDecimal bd); Float convert(Long bd); Float convert(String v);  }