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