Conversion from String to Integer? - solved

Conversion from String to Integer? - solved

e_frissell
Advocate Advocate
782 Views
2 Replies
Message 1 of 3

Conversion from String to Integer? - solved

e_frissell
Advocate
Advocate

Solved it, can't figure out how to delete the post

0 Likes
Accepted solutions (2)
783 Views
2 Replies
Replies (2)
Message 2 of 3

A.Acheson
Mentor
Mentor
Accepted solution

Hi @e_frissell 

 

You can use type conversions see this sample on this page here.

I searched convert string and vb.net to get to that page.

 

The following example uses the CStr function to convert a numeric value to String.

Dim aDouble As Double
Dim aString As String
aDouble = 437.324
' The following line of code sets aString to "437.324".
aString = CStr(aDouble)

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 3 of 3

e_frissell
Advocate
Advocate
Accepted solution

@A.Achesont thanks for the reply!  I was pretty dumb... partPath was left(4, insPart) - it should have been left(insPart, 4)... oops

0 Likes