Skip to content

Instantly share code, notes, and snippets.

@mofodox
Last active October 12, 2016 09:54
Show Gist options
  • Save mofodox/973b95808bf2dea8555031b5c0fba3c8 to your computer and use it in GitHub Desktop.
Save mofodox/973b95808bf2dea8555031b5c0fba3c8 to your computer and use it in GitHub Desktop.
Another YAY!
RULES
- Coworking membership will be flat prices and not reducing price as it scales (label should be per month not per person/month)
- Coworking memberships in the top right are a sum of the coworking shared desks table (the amount of memberships * prices)
- DE is $750 for 1 person a month
- BUT DE > 1 person becomes 700 a month/per person
- DE discount as it scales
- All prices should be in 2 decimal places = 750.00
2 People from CO40 = 480 because 1 person = 240
2 People from CO80 = 840 because 1 person = 440
2 People from CO120 = 1080 because 1 person = 540
2 People from PR = 2400 because 1 person = 1200
4 People from DE = 2800 because > than 1 person = 700
Total number of people = 12
Total number per person per month = 240 + 440 + 540 + 1200 + 700 = 3120 / 12 = 260
Total per month = 480 + 840 + 1080 + 2400 + 2800 = 6800
@tuduong3
Copy link

Wrong:
Line 15: 2 People from CO80 = 880 because 1 person = 440
Line 23: Total per month = 480 + 880 + 1080 + 2400 + 2800 = 7640

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment