PHP: number_format - Manual - PHP: Hypertext Preprocessor
In my function my_number_format() [shown below] there was a bug. If a negative number which is smaller than 1 was entered (-0,...), then the result was wrongly positive because +0 is equal to -0 (the content of $tmp[0] which was interpretet as numeric val...