 { Expression } = require './expression'
 { FunctionRef } = require './reusable'
-
+{ decimalAdjust } = require '../util/math'
 { ValueSet, Code } = require '../datatypes/datatypes'
 { build } = require './builder'
 ucum = require  'ucum'

        delete ret.units[k]
  ret

module.exports.createQuantity = createQuantity = (value,unit) ->
  new Quantity({value: value, unit: unit})


  # first strip off any pluraizations then attempt to perform a time unit to ucum unit mapping
  # otherwise send back the original value
  u = time_unit_dateTime_mapping[unit] || unit
  time_unit_to_ucum[u] ||  u || ''



