Convert UNICODE::CHAR to Float
Hi,
I'm try to convert a unicode::char to a float.
I not find a function to do it. https://support.touchgfx.com/4.20/docs/api/classes/classtouchgfx_1_1_unicode
In C language, I used to using a simple char with iotf() to convert it.
Today I'm following this steps:
- read the textArea Unicode::char, convert it to a char type in a new buffer
- with this new char buffer I'm using the itof to convert to a float
The cons about this method is I need to create another buffer to it.
Please, anyone could you guide me how to do it in a smart way?
Thank you.
