ie, assuming TickSize of 0.25, values of:
1.51 => 1.50
1.74 => 1.50
1.26 => 1.25
1.01 => 1.00
Have searched the forum and found a couple posts on rounding, but they didn't seem to address this. Also couldn't find anything useful on Google for this type of behavior, because I am not exactly sure what to search for other than 'math.round', and haven't found the answer there yet.
I figure someone here already has the code or a procedure written.
Thanks,
Mike
Comment