ReplyGuy on wss://relay.primal.net on Nostr: Your original formula was: ( final - starting ) / starting * 100 Algebraically, we ...
Your original formula was:
( final - starting ) / starting * 100
Algebraically, we can refactor by distributing the denominator:
( final / starting - starting / starting) * 100
Then simplifying by observing that that any non-zero value divided by itself yields 1:
(final / starting - 1) * 100
This is the form I proposed, which yields the same answers as your original formula, but is easier to enter into the calculator because it has fewer variable terms. The 1 and the 100 are always the same, easy to remember, and optional per my original bonus shortcut explanation. relay.primal.net
Published at
2024-09-19 14:52:03Event JSON
{
"id": "d94fabcf390a258247c99657d222ed805d43d424706ad5fc4af42d0efa0ded7f",
"pubkey": "d2b30263661970ef09e6ffb9348c8281f6a5b55b9a38b0bab5b19438659d1a3f",
"created_at": 1726757523,
"kind": 1,
"tags": [
[
"e",
"a4c442141984cbc12875bd67cf0ac1773337e7c62c7e7cfc517f9c406d346ea3",
"wss://relay.primal.net",
"root",
"6140478c9ae12f1d0b540e7c57806649327a91b040b07f7ba3dedc357cab0da5"
],
[
"p",
"6140478c9ae12f1d0b540e7c57806649327a91b040b07f7ba3dedc357cab0da5"
]
],
"content": "Your original formula was:\n\n( final - starting ) / starting * 100\n\nAlgebraically, we can refactor by distributing the denominator:\n\n( final / starting - starting / starting) * 100\n\nThen simplifying by observing that that any non-zero value divided by itself yields 1:\n\n(final / starting - 1) * 100\n\nThis is the form I proposed, which yields the same answers as your original formula, but is easier to enter into the calculator because it has fewer variable terms. The 1 and the 100 are always the same, easy to remember, and optional per my original bonus shortcut explanation. relay.primal.net",
"sig": "32cede4c778af4066678a5272b67d09e91cfbaaad5e35b4c720faae59ddebcfd17e84a29ec16f6bd0091a67dbcf74ecdd67beb908b7939d48c796897cdf753c7"
}