Apache OpenOffice (AOO) Bugzilla – Issue 22214
Basic Format not working with value zero
Last modified: 2013-02-24 21:00:44 UTC
I came upon this problem in Basic : Sub Main Dim n As Integer n = 1 print Format(n, "0000"), Format(n-1, "0000") End Sub Reading the on-line Help on Format instruction, I would expect this result: 0001 0000 However the result is: 0001 Value zero is formatted into a null string. I consider this a bug.
Andreas, seems to be a bug? Please take care and target appropriately (2.0?).
-> OOo 2.0
Fixed
verified in CWS on linux
Checked on src680 m66 -> Closed