[Libreoffice-bugs] [Bug 128122] BASIC CCur should obey locale setting
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Mar 16 06:20:27 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=128122
--- Comment #12 from Mike Kaganski <mikekaganski at hotmail.com> ---
FTR, regarding VBA's CCur locale dependence:
VBA CCur documentation [1] tells:
> You should use the data-type conversion functions instead of Val to provide
> internationally aware conversions from one data type to another. For example,
> when you use CCur, different decimal separators, different thousand separators,
> and various currency options are properly recognized depending on the locale
> setting of your computer.
So indeed CCur is documented to take locale into account when converting
strings.
[1]
https://docs.microsoft.com/en-us/office/vba/language/concepts/getting-started/type-conversion-functions
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210316/7421a5f1/attachment.htm>
More information about the Libreoffice-bugs
mailing list