PDA

View Full Version : Get precision(no.of digits after decimal point) from System settings.



JackHammer
19th December 2012, 09:17
Hi all,

I want to get the precision(no.of digits after decimal point) specified for decimal numbers from System settings. I am using windows and I have set the precision digits by going to Region and Language->Additional settings(Inside Formats tab) -> No.of digits after decimal(Inside Numbers tab). But I dont see any functions which returns the precision inside QLocale. I dont know whether there is some other way to get the precision. Thanks in advance.

wysota
21st December 2012, 11:00
Maybe some WinAPI call can do that?