summaryrefslogtreecommitdiffstats
path: root/src/number.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/number.js')
-rw-r--r--src/number.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/number.js b/src/number.js
index 8ca1422..19d70eb 100644
--- a/src/number.js
+++ b/src/number.js
@@ -38,7 +38,7 @@ SVG.Number = function(value) {
SVG.extend(SVG.Number, {
// Stringalize
toString: function() {
- return (this.unit == '%' ? ~~(this.value * 100) : this.value) + this.unit
+ return (this.unit == '%' ? this.value * 100 : this.value) + this.unit
}
, // Convert to primitive
valueOf: function() {