I don't know squat about dojo, but all you need to do to populate a div (or a lot of other elements) is use the .innerHTML assignment. So, in the most general of terms use...
Code:
myDiv.innerHTML=conversion_result;
Instead of
Code:
myInput.value=conversion_result;