mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-24 07:23:01 +08:00
修复错误的feeToYuan方法名为fenToYuan
This commit is contained in:
parent
608b59ec07
commit
b69a0b96f5
@ -113,10 +113,10 @@ public abstract class BaseWxPayResult implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 将单位分转换成单位圆.
|
* 将单位分转换成单位圆.
|
||||||
*
|
*
|
||||||
* @param fee 将要被转换为元的分的数值
|
* @param fen 将要被转换为元的分的数值
|
||||||
*/
|
*/
|
||||||
public static String feeToYuan(Integer fee) {
|
public static String fenToYuan(Integer fen) {
|
||||||
return new BigDecimal(Double.valueOf(fee) / 100).setScale(2, BigDecimal.ROUND_HALF_UP).toPlainString();
|
return new BigDecimal(Double.valueOf(fen) / 100).setScale(2, BigDecimal.ROUND_HALF_UP).toPlainString();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user