summaryrefslogtreecommitdiffstats
path: root/src/math/polynom.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/polynom.php')
-rw-r--r--src/math/polynom.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/math/polynom.php b/src/math/polynom.php
index c1fc22a..9394d15 100644
--- a/src/math/polynom.php
+++ b/src/math/polynom.php
@@ -233,13 +233,13 @@ class ezcGraphPolynom
$string .= sprintf( '%.2e ', $factor );
break;
case $factor >= 100:
- $string .= sprintf( '%.0f ', $factor );
+ $string .= sprintf( '%.0F ', $factor );
break;
case $factor >= 10:
- $string .= sprintf( '%.1f ', $factor );
+ $string .= sprintf( '%.1F ', $factor );
break;
default:
- $string .= sprintf( '%.2f ', $factor );
+ $string .= sprintf( '%.2F ', $factor );
break;
}
OpenPOWER on IntegriCloud