摘要: 1、百分比转为BigDecimal小数 String percent="66.60%"; percent=percent.replace("%",""); Float f = Float.valueOf(percent) / 100; BigDecimal decimal = new BigDeci 阅读全文
posted @ 2023-01-29 15:38 刘谏 阅读(793) 评论(0) 推荐(0)
摘要: package com.lingyejun.authenticator; import java.time.Instant; import java.time.LocalDateTime; import java.time.ZoneId; import java.util.Calendar; imp 阅读全文
posted @ 2022-01-07 14:18 刘谏 阅读(1081) 评论(0) 推荐(0)