Comprehensive and Detailed Explanation From Exact Extract:
To evaluate this:
Let’s assume:
doubleX = 10.5
intX = 10
stringX = "18"
Then:
CDbl(intX) → 10.0
CDbl(stringX) → 18.0
Sum = 10.5 + 10 + 18 =38.5
CInt(38.5) > 38.30 → 38 > 38.30 →True
Result of If → 1
CDblconverts string/numeric values to Double
CIntconverts Double to Integer (rounding behavior is floor if .5 and below)
UiPath Reference:Data Type Conversion - Microsoft VB.NET
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit