https://bugs.documentfoundation.org/show_bug.cgi?id=158092

--- Comment #2 from Robert Großkopf <[email protected]> ---
(In reply to Werner Tietz from comment #1)
> Hello Robert
> 
> I wouldn't expect Basic to follow localizations, just use the dot as a
> decimal separator.
> 
> ```
> SUB Formattest
>       msgbox Format(123.546 ,"#,##0.00 €")
> END SUB
> 
> The output of the msgbox is then localized

… but Format(123.546, "Currency") would run well in AOO (tested with AOO 4.1.8)
and did run in the past with OpenOffice. So I thought it is intended to follow
localization. Your code will run well, but doesn't follow the localization. 
Format(123.546, "Currency") will have a look at the localization (€-sign is set
right) but will suppress decimal places.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to