Posts by Maurício Maciel • 27 points
3 posts
-
1
votes2
answers416
viewsQ: Concatenate CPF in Mysql
Good Afternoon I would like to know how to concatenate 11 digits in the format of a CPF. Like, format for a CNPJ, I did this: update ger_ter set cpfcgc = CONCAT(SUBSTRING(cpfcgc, 1,2), '.',…
mysqlasked Maurício Maciel 27 -
0
votes2
answers34
viewsQ: Because '08' generates error inside the Eclipe?
I have a class with 'int = dia, mes e ano' and on the other I’m calling them. Only that caught my attention was that when I put the value '08' says 'The literal 08 of type int is out of range'. but…
javaasked Maurício Maciel 27 -
1
votes2
answers427
viewsQ: Add results and display separately within the loop
I would like to know how to add up several results. I’m creating a simple application for a particular financial challenge. For example: double salario = 1500; double desafio; for(double mes=1;…
javaasked Maurício Maciel 27