BAEL-6846 - minor code format fix
This commit is contained in:
parent
89e987aa64
commit
6f085f068a
|
@ -44,10 +44,8 @@ class FloatToBigDecimalUnitTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenCreatedByValueOf_thenFloatValueGetsTruncated() {
|
public void whenCreatedByValueOf_thenFloatValueGetsTruncated() {
|
||||||
assertEquals("1.100000023841858", BigDecimal.valueOf(1.1f)
|
assertEquals("1.100000023841858", BigDecimal.valueOf(1.1f).toString());
|
||||||
.toString());
|
assertEquals("1.100000023841858", BigDecimal.valueOf(1.10000002384185791015625f).toString());
|
||||||
assertEquals("1.100000023841858", BigDecimal.valueOf(1.10000002384185791015625f)
|
|
||||||
.toString());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue