Apache OpenOffice (AOO) Bugzilla – Issue 20704
Currency type generates error on multiplication and division
Last modified: 2010-11-10 21:31:08 UTC
Hi, Trying to migrate VBA code to OOBasic, Currency type seems not to be fully supported Sub Main Dim A as currency ' Dim B as double Dim B as currency Dim C as currency A=12.03 B=3.0 C= A/B ' or A+B or A-B or A*B Print C End Sub A+B works with B currency or double A-B works with B currency or double A/B gives 0.0000 without error message, B currency or double A*B error message: Incompatible data type Laurent
sounds like StarBASIC, not OOo API
-> OOo 2.0
Fixed in cws ab10fixes
verified in CWS linux
Checked on src680 m66 -> Closed
Created attachment 73687