How do you convert a constant to a unitless number? For example Planck's constant.

In general you can not.