For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > December 2007 > Re: [PHP-DB] decimal point









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] decimal point
Micah Stevens

2007-12-15, 10:09 pm

What's your insert statement?

On 12/15/2007 05:11 PM, Ron Piggott wrote:
> How do I get the decimal point back when I am retrieving from a column
> that is set up as:
>
> rate decimal(4,2)
>
> Example: Right now it is giving me 800 instead of 8.00
>
> Ron
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com