Family: Difference between revisions

27 bytes added ,  2 June 2020
update wrong maths, thanks for the hint!
(add missing adventure bonus section)
(update wrong maths, thanks for the hint!)
Line 100: Line 100:
''(0.5 • 100) • (1 + 500,000 / 1,000,000)'' <br><br>
''(0.5 • 100) • (1 + 500,000 / 1,000,000)'' <br><br>
We can further simplify this equation: <br>
We can further simplify this equation: <br>
''= 50 • (500,001/1,000,000)''<br>
''= 50 • (1 + 500,000/1,000,000)''<br>
''= 50 • 0.500001''<br>
''= 50 • 1.5''<br>
''= 25.00005''<br><br>
''= 75''<br><br>
Since the database management system only allows for integer type data, otherwise known as whole numbers, the resulting number is always rounded down to the next whole number. In this example Player A's spouse with 500,000 lovescore will receive $25 passively, with player A still receiving the entire $100.<br><br>
Since the database management system only allows for integer type data, otherwise known as whole numbers, the resulting number is always rounded down to the next whole number, in case a decimal number results. In this example Player A's spouse with 500,000 lovescore will receive $75 passively, with player A still receiving the entire $100.<br><br>
Seeing how this does not appear in a players status message upon completing an adventure anymore, players might be mislead into thinking this reward is no longer given, however the money is still added to the player's spouse.
Seeing how this does not appear in a players status message upon completing an adventure anymore, players might be mislead into thinking this reward is no longer given, however the money is still added to the player's spouse.
108

edits