Reply to Re: Monetary Format

Your name:

Reply:


Posted by Marcel on 10/13/96 11:29

"Marcos" <mjs_ops@gmx.net> schreef in bericht
news:op.syr9b6j54v4sy3@afrodite.network...
> Hi,
>
> Well, I'm developing one application that will have support for many
> languages and countries, in the application I need to show and to format
> the currency for the chosen country, is there any way to format the value?
>
> As a side note, the value comes from a database with format XXXX.XX where
> the point(.) is the decimal separator, always.
>
> --

I've build this one to get (EURO) values like 123.234,56:

function fmoney($val) {

$val = "&euro; ".number_format((round($val,2)), 2, ',', '.');

return $val;

}

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация