I’ve tried google my way to a solution, but I keep getting a format error.
In my workflow I use “Get Text” and retrieves like “4.815,77” and “4.815,78” - I would like to convert these two strings to integers and the have the two numbers deducted from each other and make an True/False going true when the numbers is less than 1.
Iv’e tried Cint and Convert.ToInt32, but it gives me a format error.
Let’s assume that strExtractedNumbers is the variable that holds the output of Get Text.
Use the condition below in an If activity (Convert.ToInt32(Split(strExtractedNumbers, ",")(0)) - Convert.ToInt32(Split(strExtractedNumbers, ",")(1))) < 1
Yes, the first string is a Get Text from MS Business Central, and the other is a Get Text from a webpage - I would like to check that the two numbers is less than 1 euro from each other.