getiparam() rounds floating point numbers up to the nearing integer, instead of the C standard of flooring the value to the closest integer less than the floating point value.
Ex. int var = getiparam("c"); (Where c is 3.5) sets var to 4, instead of 3 as would be done with a cast to int in C.
getiparam() rounds floating point numbers up to the nearing integer, instead of the C standard of flooring the value to the closest integer less than the floating point value.
Ex. int var = getiparam("c"); (Where c is 3.5) sets var to 4, instead of 3 as would be done with a cast to int in C.