Info
此问题已关闭。 请重新打开它进行编辑或回答。
Problem with simple multiple
1 次查看(过去 30 天)
显示 更早的评论
Hello, I have one varible A = 1000 and S = 0.1 Now multiple A*S expected 100 But result A*S is 900
2 个评论
James Tursa
2017-9-7
Uh, no. If you set A = 1000 and S = 0.1, then A*S will be 100 (or very close since 0.1 can't be represented exactly). So you are doing something wrong or there is something else about your code that you are not telling us. Show us the exact code you are using to get this result.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!