    @Test
    public void optFloat() {

        System.out.println("-----optFloat test-----");
        System.out.println(NumberUtil.optFloat(null, 0));
        System.out.println(NumberUtil.optFloat("", 1));
        System.out.println(NumberUtil.optFloat("null", 2));
        System.out.println(NumberUtil.optFloat("123", 3));
        System.out.println(NumberUtil.optFloat("123.6", 4));
        System.out.println(NumberUtil.optFloat("123.6.6.6", 5));
    }