how do I divide 12330 by 100
to give me 123.30
trying 12330/100 in JS gives 123.3
but I want the 0 at the end to stay
also, I need the function to not give .00
so 100/100 should give 1
and not 1.00
tried using .toFixed(2)
. but it only solved the first case and not the second.