[PyQt] Decimal separator Problem

Ingmar Steen iksteen at gmail.com
Sun Nov 18 20:16:22 GMT 2007


On Nov 18, 2007 8:44 PM, David Boddie <david at boddie.org.uk> wrote:
> On Tue Nov 13 22:43:29 GMT 2007, Linos wrote:
>
> > Ok, the real problem here it is that i cant use the dot in the numpad to
> > begin decimal numbers, i have checked and spanish locale use comma like
> > decimal separator, i was confused by too many english software i use,
>
> I'm glad we don't have to try and track down a locale-related bug. :-)
>
> > but i have checked and in almost all the software i can use the dot in
> > numpad to begin decimal numbers (although i view a comma), anyone knows
> > how to map the symbol or other way to do that?
>
> Do you want a leading comma to appear as a decimal point instead? Is this
> a standard convention when dealing with numbers in Spanish?
>
> David

Hi David,

I think he means that he wants to be able to use the dot on the
numeric pad to insert a decimal separator (and if the locale specifies
a comma as decimal separator, that will be inserted instead of a dot).

Ingmar


More information about the PyQt mailing list