[Kamailio-Users] problems with artihmetics operations & MYSQL

Saúl Ibarra saghul at gmail.com
Mon Jun 1 17:04:42 CEST 2009


What field type are you trying to put the data in?


On Mon, Jun 1, 2009 at 4:51 PM, BERGANZ François
<francois at acropolistelecom.net> wrote:
> Hello,
>
>
>
> I need to select from a database (for example 25.6546)
>
> And I need to do  25.6546/60.
>
>
>
> I think that I have a problem with my MySQL database. I tried to insert the
> 25.6546 in a decimal(5,5) but I cant insert more than 0.99999 !
>
>
>
> Anyone know how to do ?
>
>
>
> Thank you
>
>
>
>
>
> Cordialement,
>
> BERGANZ François
>
> P Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.
>
>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>



-- 
Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes."
----------------------------------------------------------------
http://www.saghul.net/




More information about the sr-users mailing list