ecl-logo Documentation

AchievableResolution

AchievableResolution[amount, deviceType]achievableAmount

rounds amount to the closest achievableAmount based on the resolution of the most precise ECL measuring device of deviceType.

Details

    Input
    Output
    General Options

Examples

Basic Examples  (3)

Convert a desired volume into a volume that can be accurately measured by ECL:

Consider a specific type of measuring device when determining a measurable amount:

An amount within achievable measurement resolution is left unchanged:

Additional Examples  (2)

Consider multiple possible device types when determining the achievable resolution:

Large amounts that would require multiple transfers are rounded based on the resolution of the largest available measuring device:

Options  (3)

RoundingFunction  (3)

By default, amounts will be rounded to the nearest achievable amount:

Specify that the achievable amount should always be greater than the provided amount:

Specify that the achievable amount should always be less than the provided amount:

Messages  (3)

AmountRounded  (1)

Any time an amount is rounded, a message is provided to indicate this rounding has occurred:

MinimumAmount  (2)

An amount has no achievable resolution if it is below the minimum measurable amount by any measuring device in ECL:

An amount has no achievable resolution if it is below the minimum measurable amount by a specific measuring device: