![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
大大蘑菇猪
尘世间一名迷途的IT民工。
展开
-
java杂记
float显示两位数:float price=(float)0.00; DecimalFormat decimalFormat=new DecimalFormat(".00");//构造方法的字符格式这里如果小数不足2位,会以0补足. String p=decimalFomat.format(price);//format 返回的是字符串获取日期:Calendar rightNow=Calendar原创 2016-10-26 15:36:41 · 296 阅读 · 5 评论 -
mybatis-generator例子
mybatis-generator例子原创 2017-04-23 15:36:12 · 913 阅读 · 0 评论