cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert TypedText and UnicodeChar to integer?

heyo
Senior
 
1 ACCEPTED SOLUTION

Accepted Solutions
Yoann KLEIN
ST Employee

Hello @heyo​,

You can use atoi() method to convert a UnicodeChar* to integer. And you can use getText() method to get your TypedText into a UnicodeChar*.

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX

View solution in original post

2 REPLIES 2
Yoann KLEIN
ST Employee

Hello @heyo​,

You can use atoi() method to convert a UnicodeChar* to integer. And you can use getText() method to get your TypedText into a UnicodeChar*.

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX

Thank you so much.