Skip to main content

get_precision_bound

Function get_precision_bound 

Source
pub fn get_precision_bound(precision: i32) -> f64
Expand description

Get the precision bound value for a given number of decimal places.

§Arguments

  • precision - Number of decimal places (e.g., 4 for 0.0001 precision)

§Returns

The precision tolerance value (e.g., 0.000049 for 4 decimal places)