applyRounding

fnfloat applyRounding(float x, Rounding type)

Applies the specified type of rounding to x.