Forum Discussion
AriefRandytama
Mar 26, 2025Copper Contributor
Excel VBA
I've encoutered a weird value using excel VBA, attached below is the code. I found that whenever i tried to print AMBA, it gives me -3.014722032 whereas it should be 0.1268. the latter value can also...
Kidd_Ip
Mar 27, 2025MVP
Seems this is an unexpected value for AMBA in your VBA code likely stems from precision issues with the constant Pi and the WorksheetFunction.Acos calculation