QuestionQ155

VerifiedUiPath Automation Development

Given the following variable assignments:

Question Image

What is the output of this conditional?

outputX = If(CInt(doubleX + Cdbl(intX) + CDbl(stringX)) > 38.30, 1, 0)

Explanation

The numeric conversions produce a sum of 37.9. CInt rounds a floating-point value to the nearest integer, yielding 38. Because 38 is less than 38.30, the condition is false and If returns 0.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!