Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
User:Pangaea/Artisan Jars vs Kegs
(view source)
Revision as of 19:16, 9 September 2022
539 bytes added
,
19:16, 9 September 2022
Getting confusing, and must have error handling too
Line 19:
Line 19:
{{ #arraydefine: b | 50 }}
{{ #arraydefine: b | 50 }}
{{#ifexpr: {{ #arrayprint: a }} > {{ #arrayprint: b }} | a is bigger than b | a is smaller than b }}
{{#ifexpr: {{ #arrayprint: a }} > {{ #arrayprint: b }} | a is bigger than b | a is smaller than b }}
+
+
{{ #arraydefine: jarday | 300 }}
+
{{ #arraydefine: kegday | 200 }}
+
{{#ifexpr: {{ #arrayprint: jarday }} > {{ #arrayprint: kegday }} | The preserves jar is most profitable | The keg is most profitable }}
+
+
+
{{#ifexpr: {{ #arrayprint: jarday }} > {{ #arrayprint: kegday }} | The preserves jar is +{{ #expr: ({{#arrayprint: jarday }}-{{#arrayprint: kegday }}) / {{#arrayprint: kegday }} *100 }}% more profitable | The keg is +{{ #expr: ({{#arrayprint: kegday }}-{{#arrayprint: jarday }}) / {{#arrayprint: jarday }} *100 }}% more profitable }}
Pangaea
62
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
User page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Admin noticeboard
Help Editing
Random page
Official Links
Official Site
Official Forums
Official Merchandise
Discord
Reddit
Tools
User contributions
Logs
View user groups
Upload file
Special pages
Printable version