Description: The text() function with the pound-sign format appears to handle the number zero improperly. Instead of displaying the number in text form, as it does with the other numbers, the resulting cell is blank. It is returning something at least, since the formula =istext(text(0,"#")) returns "TRUE". The issue only exists with the format parameter given with the pound sign. The formula =text(0,"0") returns the text "0" as expected. Since by design "0" shows leading zeros and "#" doesn't show leading zeros, it appears that "#" eats the zero even if it is the only character in the number. Steps to Reproduce: The formula =text(0,"#"). Actual Results: "" - a blank text string Expected Results: The text "0". Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
The correct expression is =TEXT(0;"#") and it can be reproduced back to LibreOffice 3.3.0 OOO330m19 (Build:6) tag libreoffice-3.3.0.4 Testing with MSO 2010 it returns the same value, so I would consider this a NOTABUG