Page 1 of 1

Scientific numbering.

Posted: Tue Mar 13, 2018 12:37 am
by palikem
Hi everybody.

It is possible to prohibit scientific numbering.
frame.jpg
Why it can not be there 0.00001
The program does this automatically

Win 8.1
wxDev-C++ 7.4.2.569

Re: Scientific numbering.

Posted: Tue Mar 13, 2018 6:29 am
by doublemax
Assuming that's a wxGrid, try SetColFormatFloat()
http://docs.wxwidgets.org/trunk/classwx ... 4ba58e2aa4

Re: Scientific numbering.

Posted: Tue Mar 13, 2018 7:56 am
by palikem
I was thinking in the whole program

Re: Scientific numbering.

Posted: Tue Mar 13, 2018 2:39 pm
by ONEEYEMAN
Hi,
Different control can have different formatting set up. It is unfortunately a native control situation.
Do you have an example of such behaviour?
You can try wxString::Format() or wxString::Printf() (check the docs for proper call). And for wxGrid use doublemax' suggestion.

Thank you.