Use std::floor
instead of casting double -> int -> double
#298
Loading
std::floor
instead of casting double -> int -> double
#298