2

answers

I'm manipulating dates, and I need to convert ints to String without losing the number in front.
That is, 01, 02, 03, 04
I've tried String.valueOf() and Integer.ToString() , but it eliminates the zero on the left
thanks in...

asked by
28.10.2018 / 20:48

1

answer

I have an operation that returns a float for example 6.3 and I need to round it to 7
I have tried with Math.round(6.3) but when the decimal is less than 0.5 it rounds down and when it is bigger it rounds up and I need it to...

asked by
14.06.2018 / 10:34

2

answers

This is what I try:
example1:
a=['1','2','3','4']
for m in range(len(a)):
int(a[m])
print(a)
But then I realized that for example in:
example 2:
a=['1','2','3','4']
b= []
int(a[0])
b = b + [a[0]]
print(b)
#Output b = ['1']...

asked by
13.11.2018 / 01:50

0

answers

Esteemed I introduce myself to this great community, I always look for help here but it is the first time that I am forced to publish an application, since I thank those who can respinderme.
My problem is that I'm getting this error when runn...

asked by
02.12.2018 / 16:59

1

answer

I have a Object [][] where I temporarily store three values that I get from Base de Datos ,% int ,% String and% boolean , how do I pass them from:
result.next();{
datosObt[0][0] = result.getString( "cedula"...

asked by
21.10.2018 / 08:08