Should be Simple. I'm using Rails and doing something along the lines of:
<% n = 15 / 2 %>
<%= n %>
However, whenever I output variable n, it doesn't give me a decimal. Based on other calculations it looks like it's constantly rounding to floor, But I haven't added any sort of round method anywhere.
Could you explain why? I want it to actually round to ceil.