port: make to_u and to_b support all numeric types
port: make to_u and to_b support all numeric types

Passing floats was breaking them, which was confusing, given their
premise of accepting numbers or strings.

CptLemming/libsaas,livingbio/libsaas,80vs90/libsaas,ducksboard/libsaas