select_tag "sizes", options_for_select((4..15).step(0.5))
This is how I wrote it ... but is this the best way to get closer?
also if i wanted 4.0 / 5.0 / 6.0 etc. read 4/5/6 as integers, is there any way to do this / enable this on one line?
source share