Am 27.05.2021 um 13:31 schrieb Mike Horvath: >> Has someone written a macro that rounds a float to the nearest >> integer? Thanks! ... > Or, to the nearest multiple of n, where n is any number. try `floor(FOO / N + 0.5) * N`.
Post a reply to this message