i don't really understand what you mean with your question
If you mean something like "1234" + 23 give you 123423 instead of 1257, then try parseInt.
var str = "1234";
var num = 23;
alert(parseInt(str) + num);
If you mean something else, then post an example of what you're wanting to do.
It looks like you're new here. If you want to get involved, click one of these buttons!