blend_spreadsheet_loan_generator 0.1.31 → 0.1.32
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0c908a47e7cfd11f049bbcf71442c828536f4c29e1b92fed35fb2e496c7a039
|
4
|
+
data.tar.gz: bcb3723e79bd901866231af08940d11a01e790e9c1303b240f981748c4a770bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b2ce78a943c5265d0ff1fc5f086b0b5d4ddd189589b492f428a9fdc3df01f4d0ea14394befe2f4388afc19d9caac0a1fb3fcd6eecc7c16e1321af7f0924c412
|
7
|
+
data.tar.gz: 923d79bab361d9eac36d94dc6f0738a580c36cfa69b3b2898986b50f49e7d22dcb83c7eb8b83aa0a92d6699ca97a2f59b543eb07a58e1245e09bbe2386298d96
|
@@ -193,7 +193,7 @@ module BlendSpreadsheetLoanGenerator
|
|
193
193
|
if term <= loan.deferred_and_capitalized
|
194
194
|
with_fees = "#{remaining_capital_start(line)} * (1 + #{period_fees_rate(line)} + #{period_rate(line)})^#{index(line)}"
|
195
195
|
without_fees = "#{remaining_capital_start(line)} * (1 + #{period_rate(line)})^#{index(line)}"
|
196
|
-
"=ARRONDI(#{with_fees} - #{without_fees})"
|
196
|
+
"=ARRONDI(#{with_fees} - #{without_fees}; 2)"
|
197
197
|
else
|
198
198
|
"=ARRONDI(#{capitalized_fees_start(line)} - #{period_reimbursed_capitalized_fees(line)}; 2)"
|
199
199
|
end
|