Re: Re[4]: Cannot enter non-English characters

Сергей Коныгин <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
 Are there any pitfalls in another solution?

wxString s;
s.Printf( "%.15e", value );
s.Replace( ",", "." );

суббота, 1 февраля 2025 г. в 22:10:02 UTC+4, Vadim Zeitlin: 

> On Sat, 1 Feb 2025 09:36:33 -0800 (PST) Сергей Коныгин wrote:
>
> > In this case, how can I correctly convert a floating number to a string 
> in 
> > a format "%.15e" using a dot as decimal separator? 
>
> You can use C++ streams or fmt library.
>
> Regards,
> VZ
>
> -- 
> TT-Solutions: wxWidgets consultancy and technical support
> https://www.tt-solutions.com/
>

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wx-users/5abfd78a-d619-4555-ada1-7b9292041123n%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.