Working with ranged values Zoho Deluge
Dear community,
I'm creating this thread because I need help to archive the following:
I have a system that must receive the numeric value "requests" and based on this value, it must give me the output telling me on which plan this number of requests will be inserted.
- requests = x (numeric value);
- tabela_precing = {"Plan A": 2500, "Plan B": 5000, "Plan C": 10000, "Plan D": 50000};
- Desired outputs:
- if requests = 500 the output should be "Plan A";
- if requests = 2500 the output should be "Plan A";
- if requests = 2501 the output should be "Plan B";
- if requests = 3340 the output should be "Plan B";
- if requests = 5000 the output should be "Plan B";
- if requests = 5001 the output should be "Plan C";
- if requests = 8451 the output should be "Plan C";
I know the syntax isn't correct, I just need to know how can I get this done.
I've tried using map estructures + "for each" and yet I didn't succeed.
Could someone help me, please?
Kind regards,
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.