mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -161,6 +161,9 @@ public class NumberUtilTest {
|
||||
public void roundStrTest() {
|
||||
final String roundStr = NumberUtil.roundStr(2.647, 2);
|
||||
Assert.assertEquals(roundStr, "2.65");
|
||||
|
||||
final String roundStr1 = NumberUtil.roundStr(0, 10);
|
||||
Assert.assertEquals(roundStr1, "0.0000000000");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user