I'm trying to run a php in pase and i've got problems with localization stuff.
The default value of locale parameters is it_IT.
My script read a db2 table, executes some algebraic operations and then write another db2 table.
If I write in my log file the decimal value read from the db it is represented, e.g., like 10.5
If I sum 2 to it and I write it into the log file it is represented like 12,5
I turn locale parameters to en_US using LANG=/QSYS.LIB/en_US.LOCALE in my qsh session, but nothing changes.
I insert setlocale(LC_ALL, 'en_US') at the top of my script and nothing changes.
General discussion on Zend Server for IBM System i
1 post • Page 1 of 1