On Wed, 16 Jul 2025 at 19:06, Fabiano Rosas <faro...@suse.de> wrote: > The condition should be >=.
* I'm thinking of doing away with the loop and the string array. The array has 3 values of which only one gets used due to conversion to seconds. > But then that's "0 sec" for 1000000 us. #define US (MS * 1000) => 1000000 When us = 1000000, us / US should return "1 sec", no? Thank you. --- - Prasad