]> git.saurik.com Git - wxWidgets.git/commit
Added precision parameter to wxString::From[C]Double().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Mar 2011 13:53:54 +0000 (13:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Mar 2011 13:53:54 +0000 (13:53 +0000)
commitfd3a4cb92d936976027b884fcd9db5b75fb4b8c7
treed45c0162cee056faa34b1c135de4b31529a0aa9e
parent17a8f66c75cf27b77f1bffe3b226a827774f69e8
Added precision parameter to wxString::From[C]Double().

Optionally support fixed precision in wxString::FromDouble() and FromCDouble()
methods. This is mostly useful for the latter to be able to format numbers in
portable way (using dot as decimal separator) without loss of precision but
also do it for the former for consistency.

Closes #12973.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/string.h
interface/wx/string.h
src/common/string.cpp
tests/strings/strings.cpp