diff options
author | wout <wout@impinc.co.uk> | 2013-07-23 16:27:31 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-07-23 16:27:31 +0100 |
commit | d487260b7c4f08dc9b018d7bf5ac6bc3f0995015 (patch) | |
tree | d3cdee9e6b67d8dad3ee808b813f27f177d56453 /src/number.js | |
parent | 9773661d9321927b5b86feef007fabba68eccf32 (diff) | |
download | svg.js-d487260b7c4f08dc9b018d7bf5ac6bc3f0995015.tar.gz svg.js-d487260b7c4f08dc9b018d7bf5ac6bc3f0995015.zip |
Reworked SVG.Text to give more granular control
Diffstat (limited to 'src/number.js')
-rw-r--r-- | src/number.js | 2 |
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() { |