ms function to get the length of a resolution
0.1.0