Trait truck_rendimpl::polymesh::base::RoundByTolerance [−]
Rounds the value by tolerance
Example
use truck_base::{cgmath64::*, tolerance::*}; assert_eq!(1.23456789_f64.round_by_tolerance(), &1.2345678);
Required methods
pub fn round_by_tolerance(&mut self) -> &mut Self
Rounds the value by tolerance