fn round_to_string(value: f32, max_precision: u8) -> String
Rounds the value to precision number of decimal places and returns a string to avoid floating point inaccuracies
precision