Floating Number Comes with Comma

Hi,

I have one PHP script, which outputs floating numbers with a comma instead of a dot:

$test = 0.5;
echo $test;

Returns:

0,5

The strange thing is, that this happens only with one particular script. All other scrips return

0.5

.

Could there be some code in this script, that changes this preference?

Thanks
Flözen

Have you checked to see if the script in question is setting any locale settings?

Only time:

setlocale (LC_TIME, "$locale");