I agree on returning the uS value. The client side library can then perform the conversion to cm or in (or both) or it can be up to the end user to convert the value.