Closed ricktessner closed 7 months ago
Hi,
I'm trying to use two units of measure of liters per hectare and litres per acre
Unitwise(1, 'L/(10000.m2)')
Unitwise(1, 'L/acre')
Unitwise::ExpressionError: Could not evaluate 'L/acre'
Currently using ruby 2.7.8 and unitwise version 2.3.0
UPDATE: using the primary code of [acr_us] instead of acre works just fine.
[acr_us]
acre
I no longer consider this to be an issue, at least for me.
Using the primary code instead of the symbol worked just fine. My bad.
Hi,
I'm trying to use two units of measure of liters per hectare and litres per acre
Unitwise(1, 'L/(10000.m2)')
Unitwise(1, 'L/acre')
but that fails withUnitwise::ExpressionError: Could not evaluate 'L/acre'
Currently using ruby 2.7.8 and unitwise version 2.3.0
UPDATE: using the primary code of
[acr_us]
instead ofacre
works just fine.I no longer consider this to be an issue, at least for me.