Hello,
The problem is in LO 4.1 and LO4.1.1 with lt_LT locale but i think the same
must be in all locales with decimal separated by comma.
I want to insert formula to Calc cell by Basic macros:
cell.setFormula("=2.1*2")
Old behavior (LO 4.0 and older). In cell I get result 4,2 (and formula
"=2,1*2")
New behavior (LO 4.1). In cell I get error "#NAME?" (and formula "2.1*2")
But if I want insert value, decimal separator is translated correctly:
cell.setValue(2.1)
In cell I get value 2,1 (LO 4.0, LO 4.1)
It's bug or new feature?
Best regards
Mindaugas
--
View this message in context:
http://nabble.documentfoundation.org/problem-with-formala-inserted-by-macros-when-decimal-separator-is-comma-tp4072059.html
Sent from the Users mailing list archive at Nabble.com.
--
To unsubscribe e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted