asset-depreciation-calculator
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -28,3 +28,4 @@ "use strict"; | ||
// For example, if total is 31, divided by 3 it would be 10 / 10 / 10. | ||
if (newEndAmount === 1) { | ||
// Also, there's a case, such as 29, where it returns negative result. | ||
if (newEndAmount <= 1) { | ||
return { | ||
@@ -31,0 +32,0 @@ depreciationAmount: previousEndAmount, |
{ | ||
"name": "asset-depreciation-calculator", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Asset Depreciation Calculator", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
29579
418