[英]Excel decimal rounding to QuickBooks
I'm importing an excel sheet into Quickbooks using VBA and the Intuit API. 我正在使用VBA和Intuit API将Excel工作表导入Quickbooks。 the numbers are off by a few cents.
数字下降了几美分。
One number I cannot figure out. 我无法弄清楚一个数字。 -89.5049784337071
-89.5049784337071
Quickbooks rounds it to 89.51. Quickbook将其四舍五入为89.51。
I'm guessing because its a negative number. 我猜是因为它是负数。 any formula or function in excel to replicate this?
Excel中的任何公式或函数可以复制此内容?
Can you recreate the issue with a truncated version of that number? 您可以使用该号码的截短版本重新创建问题吗? (ie using fewer digits)
(即使用更少的数字)
Just wondering, as I believe Excel's floating point numbers lose accuracy after ~14 digits. 我想知道,因为我相信Excel的浮点数会在〜14位数字后失去准确性。 I recently experienced some similar intermittent issues due to this feature.
由于此功能,我最近遇到了一些类似的间歇性问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.