useCeil
Reactive Math.ceil
Usage
import { useCeil } from '@vueuse/math'
const value = ref(0.95)
const result = useCeil(value) // 1
import { useCeil } from '@vueuse/math'
const value = ref(0.95)
const result = useCeil(value) // 1
Type Declarations
/**
* Reactive `Math.ceil`.
*
* @see https://vueuse.org/useCeil
*/
export declare function useCeil(
value: MaybeComputedRef<number>
): ComputedRef<number>
/**
* Reactive `Math.ceil`.
*
* @see https://vueuse.org/useCeil
*/
export declare function useCeil(
value: MaybeComputedRef<number>
): ComputedRef<number>