Adding snprintfDouble () to touchgfx/Unicode.hpp
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-08 8:24 AM
Dear Gfx Team,
Could you possibly add a variant of snprintf() for double please ?
In touchgfx/Unicode.hpp, there is a float version
static UnicodeChar * snprintfFloat
(
UnicodeChar * dst ,
uint16_t dstSize ,
const char * format ,
const float value
)
And for double, it would be
static UnicodeChar * snprintfDouble
(
UnicodeChar * dst ,
uint16_t dstSize ,
const char * format ,
const double value
)
Thanks.
Solved! Go to Solution.
Labels:
- Labels:
-
TouchGFX
1 ACCEPTED SOLUTION
Accepted Solutions
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-09 2:26 AM
Hello @ferro ,
Thanks for your suggestion ! I will be discussed with the team.
BR,
Louis BOUDO
ST Software Engineer | TouchGFX
ST Software Engineer | TouchGFX
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-09 2:26 AM
Hello @ferro ,
Thanks for your suggestion ! I will be discussed with the team.
BR,
Louis BOUDO
ST Software Engineer | TouchGFX
ST Software Engineer | TouchGFX
