Fixed thank you! Regards
Richard On Mon, Sep 27, 2010 at 9:57 PM, mdipierro <[email protected]> wrote: > - should be allowed. > , as a separator is not allows. I will change trunk in 5 minutes and > will be able to do IS_DECIMAL_IN_RANGE(dot=','). try it and let us > know. > > other symbols are not allowed. > > On Sep 27, 11:09 am, Richard Vézina <[email protected]> > wrote: > > Hello, > > > > I am under web2py 1.83.2 and I have those error : > > > > Hyphen "-" : > > > > raise error(explanation) > > InvalidOperation: Invalid literal for Decimal: '5-' > > > > Comma "," : > > > > raise error(explanation) > > InvalidOperation: Invalid literal for Decimal: '5,00' > > > > Degree sign "°" : > > > > raise error(explanation) > > InvalidOperation: Invalid literal for Decimal: '4\xc2\xb0C' > > > > I read this thread about the comma : > http://www.mail-archive.com/[email protected]/msg44292.html > > > > I will try the trunk. > > > > But I am asking myself if there is a problem with de regexp for the > > other point ("°", "-")??? > > > > Thanks > > > > Richard >

