Skip to contents

Round volume to be pipette-compatible

Usage

make_pipette_vol(x)

Arguments

x

Numeric. Volume to be rounded

Value

Numeric. Rounded volume.

Examples

make_pipette_vol(104.13398)
#> [1] 104.2
make_pipette_vol(15.3331)
#> [1] 15.34
make_pipette_vol(9.9211)
#> [1] 9.92
# Vectorized:
make_pipette_vol(c(104.13398, 15.3331, 9.9211, NA, -100.1))
#> [1]  104.20   15.34    9.92      NA -100.00