Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add up the 0.5 tags as well.

  • Loading branch information...
commit 1730950c8c32ba769566c7f9e67ef774e016dc4e 1 parent 26edd04
@frankshearar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/add-numeric-tags.js
View
2  src/add-numeric-tags.js
@@ -26,7 +26,7 @@ function totalIssueItems() {
var total = 0;
for (var i = 0; i < costs.length; i++) {
var element = costs[i];
- var cost = parseInt(element.getAttribute('data-name'));
+ var cost = parseFloat(element.getAttribute('data-name'));
if (!isNaN(cost)) {
total += cost
}
Please sign in to comment.
Something went wrong with that request. Please try again.