File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ public class BigDecimalUtil {
230230
231231 /**
232232 * 提供(相对)精确的除法运算,当发生除不尽的情况时,精确到
233- * 小数点以后10位,以后的数字四舍五入 。
233+ * 小数点以后10位,以后的数字四舍六入五成双 。
234234 *
235235 * @param v1 被除数
236236 * @param v2 除数
@@ -242,7 +242,7 @@ public class BigDecimalUtil {
242242
243243 /**
244244 * 提供(相对)精确的除法运算。当发生除不尽的情况时,由scale参数指
245- * 定精度,以后的数字四舍五入 。
245+ * 定精度,以后的数字四舍六入五成双 。
246246 *
247247 * @param v1 被除数
248248 * @param v2 除数
@@ -260,11 +260,11 @@ public class BigDecimalUtil {
260260 }
261261
262262 /**
263- * 提供精确的小数位四舍五入处理 。
263+ * 提供精确的小数位四舍六入五成双处理 。
264264 *
265- * @param v 需要四舍五入的数字
265+ * @param v 需要四舍六入五成双的数字
266266 * @param scale 小数点后保留几位
267- * @return 四舍五入后的结果
267+ * @return 四舍六入五成双后的结果
268268 */
269269 public static double round (double v , int scale ) {
270270 if (scale < 0 ) {
@@ -288,7 +288,7 @@ public class BigDecimalUtil {
288288 }
289289
290290 /**
291- * 提供精确的类型转换(Int)不进行四舍五入
291+ * 提供精确的类型转换(Int)不进行四舍六入五成双
292292 *
293293 * @param v 需要被转换的数字
294294 * @return 返回转换结果
You can’t perform that action at this time.
0 commit comments