Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
When I am converting a String to an Integer, I am losing the leading zeros from my variable.
I tried this 'Integer.parseInt((row1.date.length()==5)?"0"+row1.date:row1.date ) ' but it didin't work
Exemple :
Input data : '012005'
In Output data I have : '12005'
Someone can help me please?
Thank you