diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general.js index 1dd9a5f155..8ff5dd47b1 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general.js @@ -140,7 +140,7 @@ define(function(require) { }); context.on("change", "#DISK_COST", function() { - var disk = parseInt(document.getElementById('DISK_COST').value); + var disk = parseFloat(document.getElementById('DISK_COST').value); that.templateDISKS = JSON.parse(localStorage.getItem("disksJSON")); if (that.templateDISKS){ var totalGB = 0;