|
|
|
|
|
by jamestomasino
4538 days ago
|
|
There's a great collection if decimal time ideas, many of which are linked at the bottom of that wikipedia page. I personally always liked the idea of making 1 day into the base unit. Then 0.5 would give you noon, 0.75 is 6pm. It seemed less arbitrary than making a unit into a 10th of a day, since that has no value except in reference to a day. |
|
This is solvable using arbitrary-precision decimal libraries, but relying on one of those for just dealing with general time stuff is a Bad Idea.