Localisation Problems with agents on server/web

Rainer Traut <[email protected]>
Newsgroups gmane.linux.suse.domino
Message-ID <[email protected]>
Hi,
we are running a couple of Domino Application Servers under Linux.
We need to run 5.0.12 because of bugs that hit us.
I still think there is a bug that our programmers need to work around,
but perhaps its a fault of our installation:

Let's say you have an agent running on server and on web like this one:

Sub Initialize
   
    Dim zahl As String
    Dim dblZahl As String
    Dim dblZahl2 As Double
      
    Print  "<BODY>"
      
    Print "Anfang"
    Print "<BR>"   
    Print "<BR>"   
   
'    fileNum% = Freefile()
'    Open "test_datei" For Output As fileNum%
'    Write #fileNum%, "EmpfÀnger"
'    Close fileNum%
   
    zahl = "1.234.567,89"
    If Isnumeric(zahl) Then
        Print "1.234.567,89 isNumeric"
    Else
        Print "1.234.567,89 notNumeric"
    End If
    Print "<BR>"
   
    zahl = "1,234,567.89"
    If Isnumeric(zahl) Then
        Print "1,234,567.89 isNumeric"
    Else
        Print "1,234,567.89 notNumeric"
    End If   
    Print "<BR>"
   
    zahl = "1234567,89"
    If Isnumeric(zahl) Then
        Print "1234567,89 isNumeric"
    Else
        Print "1234567,89 notNumeric"
    End If
    Print "<BR>"
   
    zahl = "1234567.89"
    If Isnumeric(zahl) Then
        Print "1234567.89 isNumeric"
    Else
        Print "1234567.89 notNumeric"
    End If
    Print "<BR>"
   
    dblZahl2 = Cdbl("12345,67")+ 10
    Print dblZahl2
    Print "<BR>"
   
    dblZahl2 = Cdbl("12345.67")+ 10
    Print dblZahl2
    Print "<BR>"
   
    dblZahl2 = Cdbl("12345") + Cdbl("0,67") + 10
    Print "Cdbl(""12345"") + Cdbl(""0,67"") + 10 = " + Cstr(dblZahl2)
    Print "<BR>"
   
    dbZahl2 = Cdbl("1") / Cdbl("2")
    Print Cstr(dbZahl2) + " = Cdbl(""1"") / Cdbl(""2"")"
    Print "<BR>"
   
    Print  Cstr(1/2) + " = 1/2"
    Print "<BR>"
   
   
    Print "<BR>"
    Print "Ende"
    Print "<BR>"
   
    Print "</BODY>"
    Print "</HTML>"
   
End Sub

I managed to get this right on the server.
It uses the german syntax of where to look for '.' and "," in decimal 
numbers.
But this will *not* work as a web agent although they are *both* running 
on the server.
I have to admit I only have an old version of Suse Linux Domino (5.0.5) 
to test that
behaves wrong but our new Redhat Installs with 5.0.12 behave wrong, too.
Will this work with newer Suse installs?
If yes what are the locale settings of the notes-user and is Suse doing 
their
own domino server without this bug(?) ?

Thank you
Rainer Traut
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.