我正在使用 F# Interactive,并添加了 FSharp.PowerPack.dll 的引用。
当我尝试将 BigNum 转换为以下代码时,
let n = 2N
let d = double n
错误出来了
“System.MissingMethodException:找不到方法:'Double System.Numerics.BigInteger.ToDouble(System.Numerics.BigInteger)'。在 Microsoft.FSharp.Math.BigNum.ToDouble(BigNum n)”
如果我想进行“BigNum to int”和“BigNum to double”这样的转换,我该怎么办?非常感谢。