You can use jQuery.Animation
for this, and use any easing or animate just about any property
var o = {value : $('#inp1').val};
$.Animation( o, {
value: $('#inp2').val()
}, {
duration: 800,
easing : 'easeOutCubic'
}).progress(function(e) {
$('#result').text((e.tweens[0].now).toFixed(2));
});