MarketplaceListingsSnippetNovigo Solutions - Find Closest Value to a Number

Novigo Solutions - Find Closest Value to a Number

Supported by Publisher

Silver Certified

Snippet

2 reviews

10

Novigo Solutions - Find Closest Value to a Number

Supported by Publisher

Silver Certified

Snippet

2 reviews

10


Summary

This Activity finds the closest value to a given input value within the provided Array Of Numbers (Double Data type).

carouselImage0

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

Benefits


Published: Mar 17, 2020 | Updated: Dec 14, 2020

Trusted Source


License

3-Clause BSD


Code Language

Visual Basic


Tags


Compatibility

Compatible with all versions of Studio starting with 2018.4.1


Dependencies

UiPath.System.Activities >= 18.4.1


Documentation


Support

Email: arpan.bangera@ext.novigosolutions.com

Business Hours: Mon-Fri 9 AM to 6 PM IST; Response time: 1 business day (24 hours); Resolution time: 15 days.