Hello,
I have this data "01 h 11 m"
I need to convert part of this data to numeric
so I delimitate a part of data
Mid(Lavori.Rapporto.Chiamata__Tempo_totale__h_m__,5,2)
stimul returns "11" such as string
I need to convert "11" string to 11 numeric
Thanks in advance
Convert string to integer
- Fabio Pagano
- Posts: 355
- Joined: Mon Apr 16, 2007 12:38 pm
- Location: Bari (Italy)
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: Convert string to integer
Hello,
You can sue the Parse() method:
{Int32.Parse(Mid(Lavori.Rapporto.Chiamata__Tempo_totale__h_m__,5,2))}
Thank you.
You can sue the Parse() method:
{Int32.Parse(Mid(Lavori.Rapporto.Chiamata__Tempo_totale__h_m__,5,2))}
Thank you.
- Fabio Pagano
- Posts: 355
- Joined: Mon Apr 16, 2007 12:38 pm
- Location: Bari (Italy)
Re: Convert string to integer
Hello,
It works!
Thank you.
It works!
Thank you.
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: Convert string to integer
Hello
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.