public static float parseFloat(String number) {
		if (StrUtil.isBlank(number)) {
			return 0f;
		}

		try {
			return Float.parseFloat(number);
		} catch (NumberFormatException e) {
			return parseNumber(number).floatValue();
		}
	}
@Test
	public void parseFloatTest() {

		// -------------------------- Parse failed -----------------------

		assertNull(NumberUtil.parseFloat("abc", null));

		assertNull(NumberUtil.parseFloat("a123.33", null));

		assertNull(NumberUtil.parseFloat("..123", null));

		assertEquals(1233F, NumberUtil.parseFloat(StrUtil.EMPTY, 1233F));

		// -------------------------- Parse success -----------------------

		assertEquals(123.33F, NumberUtil.parseFloat("123.33a", null));

		assertEquals(0.123F, NumberUtil.parseFloat(".123", null));

	}