BluCloudEngineer/UWA-Workflows-in-GitHub-2023
Add custom root logic to the application
开放
#28 创建于 2023年8月22日
enhancementhelp wanted
仓库指标
- 星标
- (0 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
New Feature Request
New Feature Checklist
Before submitting a new feature, please view the currently requested features here. If your feature has not been submitted, please complete this report:
- I have checked the GitHub issues tracker and my feature has NOT been previously submitted.
- This report is for a single feature only, I will create a new report for additional features.
Describe the New Feature
I want to add logic to the calculator application so that when two numbers are provided, it will calculate the root of a custom base.
For example, if the following POST data is sent to the application:
data = {
"operation": "custom_sqrt",
"number_1": 27, # Key and value required
"number_2": 3 # Key and value required
}
The result will be:
Result: 3.0
NOTE: If the second number is divisible by 2, you MUST include the plus-minus sign (±) in the output
For example, if the following POST data is sent to the application:
data = {
"operation": "custom_sqrt",
"number_1": 81, # Key and value required
"number_2": 4 # Key and value required
}
The result will be:
Result: ± 3.0
Describe Why the New Feature Should be Added
This task is required for next release for the customer.
Screenshots
Not applicable
Additional Notes
Not applicable