Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Empty file.
Binary file added .vs/Finance-Manager/v17/.wsuo
Binary file not shown.
3 changes: 3 additions & 0 deletions .vs/ProjectSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"CurrentProjectSetting": null
}
Binary file added .vs/slnx.sqlite
Binary file not shown.
9 changes: 4 additions & 5 deletions app/src/main/java/com/cmt/taxcalculator/EMIActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,8 @@ public float calTa(float emi, Float Months) {

}

public float calTotalInt(float TA, float Principal) {

return (TA - Principal);

}
public String calTotalIntFormatted(float TA, float Principal) {
float totalInterest = TA - Principal;
return String.format("%.2f", totalInterest);
}
}