新手问题 <BigDecimal:7ff2aa1b9028,'0.961E2',18 (18)> 中的 18 (18) 是什么意思呀?

xiaoronglv · February 03, 2015 · Last by xiaoronglv replied at February 03, 2015 · 1358 hits

我在 Ruby 中创建了一个 big decimal 对象,其中的 18(18) 是不是长度呀?

翻了翻文档,也没找到解释。

看 ruby 源代码啊

#1 楼 @vincent

恩,我得养成看源码的习惯。

You need to Sign in before reply, if you don't have an account, please Sign up first.