xiaoyong931011
2021-07-14 cf148cae4937f807347e56d94b2dc96c9f258c59
1
2
3
4
5
6
7
8
9
10
11
12
13
import cn.hutool.core.util.NumberUtil;
import org.junit.Test;
 
import java.math.BigDecimal;
 
public class NumTest {
 
    @Test
    public  void  test1(){
        BigDecimal bigDecimal = NumberUtil.toBigDecimal("1200.00");
        System.out.println(bigDecimal.toString());
    }
}