asi: Math.round(el_valor);
Código Javascript
:
Ver original<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript">
$('.solonumeros').on('input', function () {
this.value = Math.round(this.value.replace(/[^,.0-9]/g, ''));
});
</script>
referencia:
https://www.w3schools.com/jsref/jsref_round.asp