0
Is there any way to make , for example, 10 into [1,0]?
Hello, I'm having a problem with one of my projects. I want to make the number 10, or any other number, split into the numbers that compose itself, like this: number = 55 output: [5,5] is there a way to do that?
1 Réponse
0
Ruby there is always a way