Round number of decimal places to 3 if the values are between 0.001 and 9999.999 otherwise (if at least one value of the vector is outside this limits) use scientific notation for all the values in a vector
Round number of decimal places to 3 if the values are between 0.001 and 9999.999 otherwise (if at least one value of the vector is outside this limits) use scientific notation for all the values in a vector
util_round_to_decimal_places(x, digits =3)
Arguments
x: a numeric vector to be rounded
digits: a numeric value indicating the number of desired decimal places