How can i make the result of the calculation to display no decimals - for all the results ?
now the number is variable on a slider that gives a number from : 5000 - 100000 and is then divided or multiplied with : X
the problem if X is somthing like : * 0.0001097 the number i is a mile long
i just want the result to be wihtout decimals
i am a real amateur in this field.. have mercy with me hahah
function do_on_range_change_pages() {
$('.betrag').text(pages);
$('.name1').text((pages * 0.001));
$('.name2').text((pages * 0.03));
$('.name3').text((pages / 22));
}
*how can i make the result of this display no decimals ?*
$('.name3').text((pages / 22 **?????**));