Changes

m
Line 391: Line 391:  
The formula <samp>XP=||16 × ln(0.018 × PRICE + 1)||</samp> means round everything between the double-pipes to the nearest integer. I've seen ⌊x⌉ and [x] being used for "round to nearest integer" as well. Does anyone have any thoughts about what notation should be used on the wiki? Perhaps providing an explanation instead of relying on symbols would be better? (although this would require changing wording in all 12 languages)... Thoughts? [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 21:11, 18 October 2023 (UTC)
 
The formula <samp>XP=||16 × ln(0.018 × PRICE + 1)||</samp> means round everything between the double-pipes to the nearest integer. I've seen ⌊x⌉ and [x] being used for "round to nearest integer" as well. Does anyone have any thoughts about what notation should be used on the wiki? Perhaps providing an explanation instead of relying on symbols would be better? (although this would require changing wording in all 12 languages)... Thoughts? [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 21:11, 18 October 2023 (UTC)
   −
:I agree with you on the opinion of giving the explanation of the symbol. It is confusing while checking the exp value of each plant because <samp>||x||</samp> is not a well-known symbol for the function "round x to the nearest integer". It is only the number theorists who use the double-pipes to express the same meaning, while this notation is usually used to denote norms in mathematics. When it comes to a better expression, I suggest <samp> floor(x + 0.5) </samp> to make it more readable for programmers.
+
:I agree with you on the opinion of giving the explanation of the symbol. It is confusing because <samp>||x||</samp> is not a well-known symbol for the function "round x to the nearest integer". It is only the number theorists who use the double-pipes to express the same meaning, while this notation is usually used to denote norms in mathematics. When it comes to a better expression, I suggest <samp> floor(x + 0.5) </samp> to make it more readable for programmers.
    
: BTW, I'm wondering if the exp of [[Qi Fruit]] is 0 according to the formula? [[User:群星之尘|群星之尘]] ([[User talk:群星之尘|talk]]) 08:03, 6 May 2024 (UTC)
 
: BTW, I'm wondering if the exp of [[Qi Fruit]] is 0 according to the formula? [[User:群星之尘|群星之尘]] ([[User talk:群星之尘|talk]]) 08:03, 6 May 2024 (UTC)
913

edits