sbd-npm 1.3.86 → 1.3.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/util.js +1 -0
package/package.json
CHANGED
package/util.js
CHANGED
@@ -3082,6 +3082,7 @@ const Util = {
|
|
3082
3082
|
rate_val = -rate_val
|
3083
3083
|
}
|
3084
3084
|
}
|
3085
|
+
rate_val = rate_val === 0 ? "0.00" : Util.to_float(rate_val, 2);
|
3085
3086
|
return "<b title='" + (year_price + " - " + price) + "' class='" + cls + "'>" + plus_sign + rate_val + "%</b>";
|
3086
3087
|
},
|
3087
3088
|
|