src/org/nutz/lang/Nums.java
public static float[] splitFloat(String str) {
        String[] ss = Strings.splitIgnoreBlank(str);
        if (null == ss)
            return null;
        float[] ns = new float[ss.length];
        for (int i = 0; i < ns.length; i++) {
            try {
                ns[i] = Float.parseFloat(ss[i]);
            }
            catch (NumberFormatException e) {
                ns[i] = 0.0f;
            }
        }
        return ns;
    }
public static float[] splitFloat(String str) {
        String[] ss = Strings.splitIgnoreBlank(str);
        if (null == ss)
            return null;
        float[] ns = new float[ss.length];
        for (int i = 0; i < ns.length; i++) {
            try {
                ns[i] = Float.parseFloat(ss[i]);
            }
            catch (NumberFormatException e) {
                ns[i] = 0.0f;
            }
        }
        return ns;
    }
将一个字符串变成一个浮点数数组，如果字符串不符合规则，对应的元素为 0.0 <br>
比如：

<pre>
"3,4,9"     =>  [ 3.0f, 4.0f, 9.0f ]
"a,9.8,100" =>  [ 0.0f, 9.0f, 100.0f ]
</pre>

@param str
半角逗号分隔的数字字符串
@return 数组