Subject | Re: [firebird-support] Re: cast 'nnn,nn' to float |
---|---|
Author | Alexandre Benson Smith |
Post date | 2008-11-28T14:14:33Z |
danyschaer wrote:
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br
> Hi Michael;cast does not use regional settings, you will need to do it on the fly.
>
> Thank you. I can't change the table, and I can't change the use of
> comma to period.
>
> If cast can't work respecting regional settings, I think I have to find
> a way to do a conversion on the fly, something like:
>
> select fff from ttt where cast(strtran(fff,',','.') as float) > ...
>
> Dany
>
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br