pub fn use_round<S, N>(x: S) -> Signal<N>where S: Into<MaybeSignal<N>>, N: Float,
Reactive round().
round()
Link to Demo
let (value, set_value) = create_signal(45.95); let result: Signal<f64> = use_round(value); // 46