Trait deltae::Round

source ·
pub trait Round {
    // Required method
    fn round_to(self, places: i32) -> Self;
}
Expand description

Trait for rounding values to a number of decimal places

Required Methods§

source

fn round_to(self, places: i32) -> Self

Rounds the value to a number of decimal places

Object Safety§

This trait is not object safe.

Implementors§