摘要: BigDecimal 的 toString() 方法将会把 BigDecimal 通过字符串的方式输出。这个方法将会在必要的时候使用指数进行输出。 具体的转换步骤是按照下面的步骤进行转换的: BigDecimal的非标度值的绝对值用字符’0’到’9’,没有被转换为一个字符串基地10零(除非它的值是零 阅读全文
posted @ 2020-02-25 23:16 huyuchengus 阅读(1858) 评论(0) 推荐(0)
摘要: 在很多情况下,我们都会使用 SLF4J 来定义日志。 那么如何定义一个 Logger 呢? 相信绝大部分人都会定义为: private static final Logger logger = LoggerFactory.getLogger(BigDecimalDemoUnitTest.class) 阅读全文
posted @ 2020-02-25 22:12 huyuchengus 阅读(267) 评论(0) 推荐(0)
摘要: intellij 提示 java-numbers.iml does not exist Please correct the file content。 如何解决这个问题? 最简单的办法就是删除 .idea 和 target 文件后,重新导入就可以了。 https://www.cwiki.us/qu 阅读全文
posted @ 2020-02-25 12:55 huyuchengus 阅读(1108) 评论(0) 推荐(0)
摘要: 在 UI 界面中,选择 Settings > General。 在弹出的界面中,选择 Visibility, project features, permissions 后面的 Expand 按钮。 然后在弹出的界面中,将 Project Visibility 下面从 Private 选择为 Pub 阅读全文
posted @ 2020-02-25 04:51 huyuchengus 阅读(3368) 评论(0) 推荐(0)