|
@@ -92,7 +92,7 @@ public class ChineseMoneyUtils {
|
|
|
int intDotPos = tempString.indexOf(".");
|
|
int intDotPos = tempString.indexOf(".");
|
|
|
/** 没有点说明没有小数,直接返回 */
|
|
/** 没有点说明没有小数,直接返回 */
|
|
|
if (intDotPos == -1)
|
|
if (intDotPos == -1)
|
|
|
- return "";
|
|
|
|
|
|
|
+ return "元整";
|
|
|
strFraction = tempString.substring(intDotPos + 1);
|
|
strFraction = tempString.substring(intDotPos + 1);
|
|
|
StringBuffer sbResult = new StringBuffer(strFraction.length());
|
|
StringBuffer sbResult = new StringBuffer(strFraction.length());
|
|
|
for (int i = 0; i < strFraction.length(); i++) {
|
|
for (int i = 0; i < strFraction.length(); i++) {
|