Thanks a lot mdipierro for your reply but how to use it ?

Thanks in Advance
Neveen

On Aug 9, 8:17 pm, mdipierro <[email protected]> wrote:
> You can create a validator for it:
>
> class EDOUBLE():
>     def __call__(self,value):
>          try:
>             return (float(str(value or 0).replace(',','.'),None)
>          except: return (value, 'error')
>     def formatter(self,value):
>             return str(value).replace('.',',')
>
> On Aug 9, 12:03 pm, Neveen Adel <[email protected]> wrote:
>
>
>
> > Hello,
> >   i defined a SQLFIELD with data type double.
>
> > Is there a way to make separator "," in the textbox by default.
>
> > Thanks in Advance
>
> > Neveen Adel

Reply via email to