$(function(){ var num='100.00'; var float=parseInt(num).toFixed(2); $('div').html(float) })