Hi Guys,
I’m a new user on Uipath, and I’m facing my first problem trying to convert a string to a number.
I’m getting values from a DataTable into a variable (Heure_Minute_Actuelle_Row) :
row(2).ToString.Substring(9,2)+row(2).ToString.Substring(12,2) → Result is 1032 (as a string)
Then :
I try to convert as a number what I get into Heure_Minute_Actuelle_Row (so 1032) by assigning it a new variable (Heure_Minute_Actuelle_Row_Number) → cint(Heure_Minuite_Row) and I get 0 as number
Could someone help on the topic of how to convert this string into a number?
Thanks a lot.
I’m a new user on Uipath, and I’m facing my first problem trying to convert a string to a number.
I’m getting values from a DataTable into a variable (Heure_Minute_Actuelle_Row) :
row(2).ToString.Substring(9,2)+row(2).ToString.Substring(12,2) → Result is 1032 (as a string)
Then :
I try to convert as a number what I get into Heure_Minute_Actuelle_Row (so 1032) by assigning it a new variable (Heure_Minute_Actuelle_Row_Number) → cint(Heure_Minuite_Row) and I get 0 as number
Could someone help on the topic of how to convert this string into a number?
Thanks a lot.