Re: [api-dev] CDbl function

2005-03-09 Thread Andreas Bregas
Hi Andrew and all, hopefully this thread brings some light into this mysterious problem. I will have another look on this issue the next days. Sevastian `seva` Foglia wrote: ... Perhaps you should add this to the issue so that they can reproduce the problem... I've just done this. Regards

Re: [api-dev] CDbl function

2005-03-07 Thread Andrew Douglas Pitonyak
Sevastian `seva` Foglia wrote: I found where problem is: environment variable LANG on linux. If LANG is [EMAIL PROTECTED] this macro Sub Main Dim sVal as String sVal = 0,30 print CDbl(sVal) End Sub return 0 If LANG is not set macro return correct value 0,3 Perhaps you should add this

Re: [api-dev] CDbl function

2005-03-04 Thread Sevastian `seva` Foglia
Davide Dozza wrote: Bernard Marcelly wrote: Le 2005-03-03 20:04, Alexej Kryukov a écrit : On Thursday 03 March 2005 20:40, Sevastian `seva` Foglia wrote: Sub Main Dim sVal as String sVal = 0,30 print CDbl(sVal) End Sub I correctly display 0,3 on my OOo 1.1.3 french, Windows XP french

Re: [api-dev] CDbl function

2005-03-04 Thread Christian Junker
The one distributed with Fedora heidelberg. I have not set the LANG environment variable however, so I guess it only happens then (I set the locale under ToolsOptionsLanguage Settings). Best Regards Christian Junker Davide Dozza wrote: Christian Junker wrote: Hi Sevastian, I tested your piece of

Re: [api-dev] CDbl function

2005-03-03 Thread Laurent Godard
Hi again cDbl(0.30) --- 0,02 cDbl(0,30) --- 0 0,02 !! where does it come from ? using comma as decimal seprator opn my laptop (be_FR locale, using fr OOo 1.1.4 under debian) print cdbl(0.30) -- 0,3 'print cdbl(0,30) -- error 'print cdbl(0.30) -- error print cdbl(0,30) -- O don't know if it