mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix float bug
This commit is contained in:
@@ -721,4 +721,16 @@ public class ExcelWriteTest {
|
||||
|
||||
writer.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void writeFloatTest(){
|
||||
//issue https://gitee.com/dromara/hutool/issues/I43U9G
|
||||
String path = "d:/test/floatTest.xlsx";
|
||||
FileUtil.del(path);
|
||||
|
||||
final ExcelWriter writer = ExcelUtil.getWriter(path);
|
||||
writer.writeRow(ListUtil.of(22.9f));
|
||||
writer.close();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user