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

Bernard Marcelly <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Bernard Marcelly <[email protected]> ---
There is also a related bug with CDbl() and CSng() converting a string with
scientific notation.
These functions convert using the locale decimal separator, so I use a
localized string to work for any value.

dim d as double
dim s1 as string

s1 = 1.0e-5 ' implicit conversion to string
msgbox s1 ' the string is correct

d = CDbl(s1) ' error : data type mismatch
msgbox d

dim sf as single
sf = CSng(s1) ' error : data type mismatch
msgbox sf

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to