0
hello, in C#,
I have my fields displaying in BRL currency format in Real symbol >R$12.00 would like to display in Metical 12.00MT symbol format.
someone can help me in this exhibition?
I’ll have to change the bank? OK utf-8
thank you,
0
hello, in C#,
I have my fields displaying in BRL currency format in Real symbol >R$12.00 would like to display in Metical 12.00MT symbol format.
someone can help me in this exhibition?
I’ll have to change the bank? OK utf-8
thank you,
Browser other questions tagged c#
You are not signed in. Login or sign up in order to post.
without seeing the code I would say to use the
string.Format
for example– Ricardo Pontual
The String.Format would be to format as Real 'R$' and I did so to display in Real. 'txtValorTotal.Text = String.Format("{0:C2}", total); this returns me R$:12,00. And to display in Grid I do so: grid.Columns[1]. Headertext = "Status"; //format column coin grid.Columns[1].DefaultCellStyle.Format = "C2"; How do I display 12.00MT or 1500.50mt? Grateful for the attention.
– Alex Rodrigues
if it appears R$ is pq the machine culture is in en-BR, it would need to change, but I went to check and there is a code for Mozambique unfortunately: https://docs.microsoft.com/en-us/dotnet/api/system.globalization.regioninfo.isocurrencysymbol?view=net-5.0 you will need to do this manual :(
– Ricardo Pontual
thank you very much, I will analyze the link,
– Alex Rodrigues