float SecondsPerDay = 24 * 60 * 60;
float SecondsPerHour = 60 * 60;
float SecondsPerMinute = 60;;
double NumberOfDays = floor(TotalSeconds / SecondsPerDay);
double Remainder = (TotalSeconds%SecondsPerDay); // line with error
double NumberOfHour = floor (TotalSeconds / SecondsPerHour);
float Remainder = (TotalSeconds % SecondsPerHour);
double NummberOfMinute = floor (TotalSeconds / SecondsPerMinute);
float Remainder = (TotalSeconds % SecondsPerMinute);
float NumberOfSeconds = Remainder;
the copmiler give me error when i write modulo operation im trying to delete % but its not working