@@ 626-631 (lines=6) @@ | ||
623 | $format = ($value >= 0) ? $sections[0] : $sections[1]; |
|
624 | $value = abs($value); // Use the absolute value |
|
625 | break; |
|
626 | case 3: |
|
627 | $format = ($value > 0) ? |
|
628 | $sections[0] : (($value < 0) ? |
|
629 | $sections[1] : $sections[2]); |
|
630 | $value = abs($value); // Use the absolute value |
|
631 | break; |
|
632 | case 4: |
|
633 | $format = ($value > 0) ? |
|
634 | $sections[0] : (($value < 0) ? |
|
@@ 632-637 (lines=6) @@ | ||
629 | $sections[1] : $sections[2]); |
|
630 | $value = abs($value); // Use the absolute value |
|
631 | break; |
|
632 | case 4: |
|
633 | $format = ($value > 0) ? |
|
634 | $sections[0] : (($value < 0) ? |
|
635 | $sections[1] : $sections[2]); |
|
636 | $value = abs($value); // Use the absolute value |
|
637 | break; |
|
638 | default: |
|
639 | // something is wrong, just use first section |
|
640 | $format = $sections[0]; |