Thanks Frank,
The
$english_format_number = number_format($number);
line works a treat.
Cheers, Pat
"Frank M. Kromann" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> http://php.net/number_format
>
> is what you are looking for.
>
> - Frank
>
> > Hi
> >
http://php.net/number_format
is what you are looking for.
- Frank
> Hi
> I have a field in my MySQL database that's a decimal where I have
figures of
> millions without the decimal point -
>
> i.e - 150
>
> Is there a function in PHP to display this figure as a $ amount -
>
> i.e - $1,5