qt5.5 - Qt decimal separator -


in many (all?) qt gui control (like qdoublespinbox), qdoublevalidator etc ',' using decimal separator. qstring method tofloat, todouble use '.'. best way resolve conflict platforms , locals?

qt uses system locale display numbers in widgets, has ',' decimal separator. can use qlocale::system().todouble() locale-dependent conversion.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

android - CoordinatorLayout, FAB and container layout conflict -