Here's the code
<script type="text/javascript">
$(document).ready(function(){
$('input.number')
.on("blur", function(e){
var $this = $(this);
var num = $this.val().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,");
$this.val(num);
});
});
</script>
The output of that code is 10000 => 10,000
I want the output to be 10000 => 10,000.00
thanks..