Skip to main content
Module

x/ddc_vim/deps.ts>fn.ceil

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.ceil
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { ceil } = fn;

Return the smallest integral value greater than or equal to {expr} as a |Float| (round up). {expr} must evaluate to a |Float| or a |Number|. Examples: echo ceil(1.456) 2.0 echo ceil(-5.456) -5.0 echo ceil(4.0) 4.0 Can also be used as a |method|: Compute()->ceil() {only available when compiled with the |+float| feature}

Parameters

denops: Denops
expr: unknown

Returns

Promise<unknown>