Metrics are always float64 values. How you present them to the user is up to the client appplication: e.g. if you were using Grafana, you'd tell Grafana to display the value in a human-readable time duration format.
You can do simple arithmetic in PromQL queries. For example, if "sysUpTime" is a metric with units of 1/100ths of a second, then the following will convert it to days:
Here 3.5 would mean "3 days 12 hours". Again, displaying it in such a format is down to the client making the query, because the query will just give you a number (or more precisely, a vector of numbers, since there may be multiple timeseries for the sysUpTime metric)