Message 1 of 14
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I encountered this error, and have absolutely no idea how to deal with it.
If any of You might know the answer, please help because I literally go crazy 😤
Many thanks for help!
Code from Screenshot:
S_Length = 7392.8
width_SA_L1_V_first = 1200
SA_L1_LeftOffset = 96.4
SA_L1_RightOffset= 96.4
SA_L1_fbw = 1200
Dim a As Double = (S_Length - width_SA_L1_V_first - SA_L1_LeftOffset - SA_L1_RightOffset) / SA_L1_fbw
MessageBox.Show(a, "a")
MessageBox.Show(Int(a), "Int(a)")
If Int(a) = a Then
MessageBox.Show(a & " = " & Int(a) & " >> True", "Integer Check")
Else
MessageBox.Show(a & " = " & Int(a) & " >> False", "Integer Check")
End If
Solved! Go to Solution.