[Mono-devel-list] Brazilian currency in Mono

Raphael Lullis lullis at gmail.com
Tue Oct 5 17:41:13 EDT 2004


Not to mention that printing money is illegal :-)

Okay, enough with lame jokes


On Tue, 5 Oct 2004 16:20:31 -0500, Belbin, Peter <pbelbin at mcleodusa.com> 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