Is there a way to test only the whole numbers and ignore the fractional part of the decimal value?

Question : I’ve used “get numbers only” action to retrieve numbers from the given element and I need to validate if they are equal. But I want to ignore the numbers that comes after the decimal. Is there a way to test only the whole numbers and ignore the fractional part ? In my case(screenshot shown) I tried options such as ‘Equals’ , ‘Less than or equal to’ , ‘greater than’ parameters for checking but because of
the fractional part being volatile every time I fetch the value , the validation part fails. Therefore I only want to validate the whole numbers. Please help on how else to test this in TestProject.

Hi @vidam,
You can use the ‘Find substring last index’ action to get the index of ‘.’.

Then, use the ‘Get substring in range’ action.