Skip to content
TORNLIFE More

Loans

Started by JZZ [38465] on in Bugs & Issues.

6 replies · 80 views · thread synced · 3 days ago · View on torn.com
About this thread

Posts archived: 7 / 7 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
7
Discussion span
→
People posting
3
Likes on archived posts
6
Posts by staff, officers and moderators
2
Authority score
59 / 100
Historical score
32 / 100
Story score
39 / 100
Engagement score
49 / 100

Most-liked replies

JZZ [38465]
I confirm that I have checked if a relevant topic was already created - and it was not.

There are 2 issues with
https://www.torn.com/loan.php

1.
[image: i.imgur.com]
1001 * 0.025 = 25.025
Bad rounding. It can be rounded up to 25.03 but it cannot be rounded up to 26.
Now the 26 is within a range from 1001 to 1040. If you ask me, that's not fair at all.

Solution:
deploy fair percentage calculations and introduce the minimum paid amount (that would be the same for the specified bottom amount taken, for example the same whether 1 or 100 is taken out, and fair percentage afterwards).


2.
[image: i.imgur.com]
This warning comes when returning everything back. Either whether when returning the whole sum in one go, or when returning the very last $ - then this warning is triggered.
It appears that the purpose of this warning is to prevent overpaying (when returning more than taken). However, the new script automatically changes the potentially overpaid amount to the maximum allowed amount (whatever owing is remaining). Therefore, given the present circumstances, this warning message is not relevant anymore.
Not sure if you remember (depending how new the reader is to the game), but in the past (11+ years ago) there was no script that was preventing from overpaying. But also there was no such warning (at first). Now, however, it's a little too much - almost like an overkill.

Solution:
Remove the code from that warning message out of existence.

Kind regards,
JZZ
Stewie [1494547]
Is the second issue still a problem? I believe there's been some changes made that should resolve that one.

If you could check for me?
JZZ [38465]
Hello,
Thank you for the message.

That is a minor issue indeed (incorrect rounding up). Let's leave it then for another decade.