bw.registerCustomEditor(Short.class, new CustomNumberEditor(Short.class, nf, false));
bw.registerCustomEditor(int.class, new CustomNumberEditor(Integer.class, nf, false));
bw.registerCustomEditor(Integer.class, new CustomNumberEditor(Integer.class, nf, false));
bw.registerCustomEditor(long.class, new CustomNumberEditor(Long.class, nf, false));
bw.registerCustomEditor(Long.class, new CustomNumberEditor(Long.class, nf, false));
bw.registerCustomEditor(BigInteger.class, new CustomNumberEditor(BigInteger.class, nf, false));
bw.registerCustomEditor(float.class, new CustomNumberEditor(Float.class, nf, false));
bw.registerCustomEditor(Float.class, new CustomNumberEditor(Float.class, nf, false));
bw.registerCustomEditor(double.class, new CustomNumberEditor(Double.class, nf, false));
bw.registerCustomEditor(Double.class, new CustomNumberEditor(Double.class, nf, false));
bw.registerCustomEditor(BigDecimal.class, new CustomNumberEditor(BigDecimal.class, nf, false));