.toPrecision not working with pixels
I am trying to round a number to integer
I get a width --> var $h2 = $('.span2').width();
I try ->
$texH = ($h3 / 5).toPrecision(1);
or ->
$texH = ($h3 / 5).toFixed();
but nothing works I
get 69.05638638638637px and I want 69px
thanks for helping