Skip to main content
heyo
Associate III
Solved

How to convert TypedText and UnicodeChar to integer?

..

This topic has been closed for replies.
Yoann KLEIN
Yoann KLEINBest answer
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 KLEINST Software Developer | TouchGFX

2 replies

Yoann KLEIN
Yoann KLEINBest answer
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 KLEINST Software Developer | TouchGFX
heyo
heyoAuthor
Associate III

Thank you so much.