问题描述
let pages = MLUntypedColumn([192980.8718626261,19298087186262.61,19298087186262.61])
let genre = MLUntypedColumn(["Fantasy","Drama","Adventure","Fantasy"])
let bookTable = try MLDataTable(namedColumns: [
"Pages": pages,"Genre": genre])
print(bookTable )
//The value Double 19298087186262.61 is written to the table as 1.92981 e+13
创建表时,Double的值会更改。超过6个字符的Double值更改为我不理解的内容。我该如何处理?如何在表格中包含真正的Double值?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)