Function leptos_use::math::use_ceil

source ·
pub fn use_ceil<S, N>(x: S) -> Signal<N>
where S: Into<MaybeSignal<N>>, N: Float,
Expand description

Reactive ceil().

§Demo

Link to Demo

§Usage

let (value, set_value) = create_signal(44.15);
let result: Signal<f64> = use_ceil(value); // 45