https://bugs.documentfoundation.org/show_bug.cgi?id=123158
Bug ID: 123158
Summary: isNumeric returns false if number is passed as String
Product: LibreOffice
Version: 6.1.4.2 release
Hardware: All
OS: Mac OS X (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: leose...@gmail.com
The Basic function isNumeric() returns False if a number is passed as a String
under OS X. This behaviour is different from Linux version. Tested on versions
6.0.7.3 and 6.1.4.2 both are affected. As per documentation
(https://help.libreoffice.org/Basic/IsNumeric_Function_Runtime), the behaviour
under Linux is correct, the one under OS X is not.
MWE:
Sub test
Dim a As String
Dim b As Boolean
a = "0.2"
b = isNumeric(a)
' b will be false on OS X and true on Linux
End Sub
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs