I receive an integer, for example 3, and I want to display a string such as "0000003" (six "0's" and "3"). Or receive the 1050 and display "0001050" (three "0" and the number).
Therefore, what I want is to show a 7-digit integer to which to add a number, showing the remaining 0.
var numero = 3;
var cadenaNumerica = 0000000;
var resultado = numero + cadenaNumerica;
//Lo que necesito que devuelva resultado 0000003