I'd like to insert a letter equal to the number returned by a calculation within my code :
var howmanytimes = 500 / 100;
$('#mytextmultiplied').text(howmanytimes*'whatiwanttowrite');
The last part is obviously wrong. Is looping the only option here?