import { fn } from "https://deno.land/x/ddc_vim@v0.0.12/deps.ts";
const { round } = fn;
Round off {expr} to the nearest integral value and return it as a |Float|. If {expr} lies halfway between two integral values, then use the larger one (away from zero). {expr} must evaluate to a |Float| or a |Number|. Examples: echo round(0.456) 0.0 echo round(4.5) 5.0 echo round(-4.5) -5.0 Can also be used as a |method|: Compute()->round() {only available when compiled with the |+float| feature}
Parameters
denops: Denops