title: sql server udf, return the same type as the input expression
body: <p>is it possible for a udf to return the same data type as one of its parameters?</p>
  
  <p>i would like my udf to accept a decimal of any precision and scale
  and return the same type.</p>