Viewing a response to: @spknetwork/usvpezvf
> <code>const amount = p * (1 + r / 365);</code> What happens in leap years? Slightly increased interest? Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@gadrian/re-spknetwork-4hy5yd)
author | gadrian |
---|---|
permlink | re-spknetwork-4hy5yd |
category | hive-112019 |
json_metadata | {"app":"leofinance/0.2","format":"markdown","tags":["leofinance"],"canonical_url":"https://leofinance.io/@gadrian/re-spknetwork-4hy5yd"} |
created | 2022-06-22 16:54:24 |
last_update | 2022-06-22 16:54:24 |
depth | 1 |
children | 4 |
last_payout | 2022-06-29 16:54:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 202 |
author_reputation | 645,277,231,009,406 |
root_title | "Earn SPK by Delegating LARYNX | Share your Feedback and Review the Code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 114,246,949 |
net_rshares | 0 |
The daily return is always exactly the same.
author | disregardfiat |
---|---|
permlink | re-gadrian-rdxoo4 |
category | hive-112019 |
json_metadata | {"tags":["hive-112019"],"app":"peakd/2022.05.9"} |
created | 2022-06-23 14:09:42 |
last_update | 2022-06-23 14:09:42 |
depth | 2 |
children | 3 |
last_payout | 2022-06-30 14:09:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 45 |
author_reputation | 345,191,366,639,512 |
root_title | "Earn SPK by Delegating LARYNX | Share your Feedback and Review the Code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 114,269,321 |
net_rshares | 0 |
Yes, but it's 1 more day in a leap year. Which means <code>return parseInt(interest * t);</code> will return a little more when t is the equivalent of 366 days. Right?
author | gadrian |
---|---|
permlink | re-disregardfiat-rdxoqs |
category | hive-112019 |
json_metadata | {"tags":"hive-112019"} |
created | 2022-06-23 14:11:15 |
last_update | 2022-06-23 14:15:03 |
depth | 3 |
children | 2 |
last_payout | 2022-06-30 14:11:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 168 |
author_reputation | 645,277,231,009,406 |
root_title | "Earn SPK by Delegating LARYNX | Share your Feedback and Review the Code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 114,269,366 |
net_rshares | 0 |
It will never be calculated to 366 tho. If you earn 10 cents today, you'll earn 10 cents any day. The interest also doesn't compound in this case.
author | disregardfiat |
---|---|
permlink | re-gadrian-rdxp00 |
category | hive-112019 |
json_metadata | {"tags":["hive-112019"],"app":"peakd/2022.05.9"} |
created | 2022-06-23 14:16:54 |
last_update | 2022-06-23 14:16:54 |
depth | 4 |
children | 1 |
last_payout | 2022-06-30 14:16:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 147 |
author_reputation | 345,191,366,639,512 |
root_title | "Earn SPK by Delegating LARYNX | Share your Feedback and Review the Code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 114,269,511 |
net_rshares | 0 |