Create your first automation in just a few minutes.Try Studio Web →
by YouTube
2
Snippet
<100
Summary
Summary
This Activity finds the Closest value to a given input value within the provided Array Of Numbers (Double Data type).
Overview
Overview
This Snippet requires the following five arguments:
1. ArrayOfValues (Double[]) : The Array of Values which needs to be searched. Required
2. InputValue (Double) : The Input Value that needs to be searched in the Input Array. Required
3. ValueLessThanInputValue (Boolean) : If true, the Value which is Lesser than Input Value but the Closest will be Chosen. By Default, it is False. Optional
4. FinalClosestValue (Double) : The Output Value which is the Closest Value in the Array. Required
5. IndicesOfClosestValue (Integer[]) : The indices of the Closest Value found in the Array. Optional
Features
Features
Finding a value which is equal to a given value or approximately equal to a given value. Approximate estimation.
Additional Information
Additional Information
Dependencies
UiPath.System.Activities >= 18.4.1
Code Language
Visual Basic
License & Privacy
BSD
Privacy Terms
Technical
Version
1.0.0Updated
March 17, 2020Works with
Compatible with all versions of Studio starting with 2018.4.1
Certification
Silver Certified
Tags
Support
UiPath Community Support
Resources