Skip to content

useCeil

反应式 Math.ceil

¥Reactive Math.ceil

用法

¥Usage

ts
import { 
useCeil
} from '@vueuse/math'
const
value
=
ref
(0.95)
const
result
=
useCeil
(
value
) // 1