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 to the issue so that they can reproduce the problem...
Note: In OOo option Locale is set to Italian (Italy)
Although it is a hack, perhaps you can change the "," to a ".", and then use Val to convert the number rather than CDbl.
-- Andrew Pitonyak My Macro Document: http://www.pitonyak.org/AndrewMacro.sxw My Macro Book: http://www.hentzenwerke.com/catalog/oome.htm Free Info: http://www.pitonyak.org/oo.php
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
