[Mono-devel-list] Brazilian currency in Mono

Jurandy Martins Soares Junior jurandy at lsd.ic.unicamp.br
Wed Oct 6 08:27:54 EDT 2004


Well, care of your business, guy! And if you have no competence to help solving my problem, leave us that we do it.

BTW, we don't speak Spanish, neither our capital is Buenos Aires. To finish, forget Samba. Instead, learn forro before coming here. I hope you change your mind.

On Tue, Oct 05, 2004 at 04:20:31PM -0500, Belbin, Peter wrote:
> I think you should be very careful printing Brazilian currency, as it has a
> very bad impact due to the increase of inflation.
> 
>   
> 
> -----Original Message-----
> From: Jurandy Martins Soares Junior [mailto:jurandy at lsd.ic.unicamp.br] 
> Sent: Tuesday, October 05, 2004 2:10 PM
> To: mono-devel-list at lists.ximian.com
> Subject: [Mono-devel-list] Brazilian currency in Mono
> 
> Hi,
> 
> I've tried to make Mono print a >>double<< as currency, using the format of
> my country. See code below:
> 
>       double total = 7.50;
>       IFormatProvider formato = new CultureInfo("pt-br", true);
>       msg.Text = String.Format("{0:c}", total);
> 
> It prints "R$8" rather than "R$7,50". 
> It rounds the value. In brazilian portuguese comma is the separator.
> 
> I've tried to replace "pt-br" by "fr-fr". It worked well, printing "7,50
> euros".
> 
> Who do I have to report this bug to?
> 
> Thanks in advance!
> Jurandy Martins
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 
> 
> NOTICE: This electronic mail transmission may contain confidential
> information and is intended only for the person(s) named.  Any use, copying
> or disclosure by any other person is strictly prohibited. If you have
> received this transmission in error, please notify the sender via e-mail.
> 
> 
> 



More information about the Mono-devel-list mailing list