What could be causing a PHP script to output numbers with a comma instead of a period for decimal points?

The issue of a PHP script outputting numbers with a comma instead of a period for decimal points is likely due to the locale settings on the server. To solve this problem, you can set the locale to a specific one that uses a period as the decimal separator.

```php
setlocale(LC_NUMERIC, 'en_US.UTF-8');
```

This code snippet sets the locale to 'en_US.UTF-8', which uses a period as the decimal separator. Place this line at the beginning of your PHP script to ensure that numbers are output with the correct decimal format.