fixed a long-standing precision bug with unit conversion

I don't know why this didn't occur to me a year ago.
updated examples with improved precision

The dhms conversion is still wrong, which I don't understand yet.