Adrian Beskow Posted January 15, 2016 at 01:28 PM Report Share #592016 Posted January 15, 2016 at 01:28 PM Bom dia. Tenho uma tela de vendas, a qual mostra um valor total logo que todos os itens foram inseridos, porém, no label, é apresentado o valor com vírgula. Tem como substituir a vírgula por um ponto? Preciso mostrar a soma dos totais entre datas num relatório, mas o banco não soma varchar Link to comment Share on other sites More sharing options...
He B TeMy Posted January 15, 2016 at 04:28 PM Report Share #592030 Posted January 15, 2016 at 04:28 PM label.text = label.text.replace(",","."); Ou, faz isto: http://stackoverflow.com/a/9160150/2990244 1 Report Link to comment Share on other sites More sharing options...
Adrian Beskow Posted January 15, 2016 at 05:48 PM Author Report Share #592037 Posted January 15, 2016 at 05:48 PM Obrigado cara, funcionou perfeitamente! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now