convertir la matriz al número
let x = [1,2,3,4,5]
let num = +x.join("")
Lively Llama
let x = [1,2,3,4,5]
let num = +x.join("")
var arrayOfNumbers = arrayOfStrings.map(Number);
const arrayOfDigits = numToSeparate.toString().split("");
public int[] IntegerArrayNum(int num)
{
var ls = new List<int>();
foreach ( var i in num.ToString().ToCharArray())
ls.Add(Convert.ToInt32(i.ToString()));
return ls.ToArray();
}