Skip to main content
heyo
Associate III
March 24, 2023
Solved

How to convert TypedText and UnicodeChar to integer?

..

This topic has been closed for replies.
Yoann KLEIN
Yoann KLEINBest answer
ST Employee
March 24, 2023

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
March 24, 2023

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
March 24, 2023

Thank you so much.