示例说明:下面提到的方法代码的当前输出给出:
--New use of hyphen in JDK7 say ex. value (2453233.3) is ----2453233.3
但我想要像这样的输出
--New use of hyphen in JDK7 say ex. value (2_45_323_3.300_00) is ----2453233.3
如何获得这个输出?请帮帮我方法在这里
public void sayhi()
{ double hypdouble= 2_45_323_3.300_00;
System.out.println("--New use of hyphen in JDK7 say ex. value ("+Double.toString(hypdouble)+") is ----"+hypdouble);
}