Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Apply VueUse composables in Vue 3/Nuxt projects to replace custom implementations with battle-tested utilities.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/useCeil.md
1---2category: '@Math'3---45# useCeil67Reactive `Math.ceil`89## Usage1011```ts12import { useCeil } from '@vueuse/math'1314const value = ref(0.95)15const result = useCeil(value) // 116```1718## Type Declarations1920```ts21/**22* Reactive `Math.ceil`.23*24* @see https://vueuse.org/useCeil25*26* @__NO_SIDE_EFFECTS__27*/28export declare function useCeil(29value: MaybeRefOrGetter<number>,30): ComputedRef<number>31```32