Re: LibreOffice/OpenOffice.org BASIC – CDbl doesn't work properly with string argument

Johnny Rosenberg <[email protected]> Tue, 7 Jun 2011 16:49:57 +0200
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
2011/6/7 Bernard Marcelly <[email protected]>:
> Hi,
> No bug here.
>
> CDbl uses the locale settings of your OpenOffice.org.
>
> Verify Tools > Options > Language settings > Languages :
> the second item "Local Settings" should show : Swedish (Swede)

Yes, that's correct.

> Just under this item, you will see a comma indicated as separator for
> decimal values (it is small but visible).

Correct again.

Still, CDbl("123,45") returns 123, not 123,45.

I read the bug report and it says that this only happens on Linux, and
not on all GNU/Linux-distributions. However the bugreport was about
OpenOffice.org 2.something, so I was a bit surprised that they didn't
fix this yet. Maybe I should bring the bug report to the Ubuntu people
instead.

Regards

Johnny Rosenberg
=E3=82=B8=E3=83=A7=E3=83=8B=E3=83=BC=E3=83=BB=E3=83=AD=E3=83=BC=E3=82=BC=E3=
=83=B3=E3=83=90=E3=83=BC=E3=82=B0


>
> Regards
> =C2=A0Bernard
>
> --
> -----------------------------------------------------------------
> To unsubscribe send email to [email protected]
> For additional commands send email to [email protected]
> with Subject: help
>
--=20
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help