Hello,
First off, I love the course.
But maybe it’s easier to title the progressbar like this:
if (count > 0)
{
taskProgressBar.value = completed / (float) count;
}
else
{
taskProgressBar.value = 1;
}
taskProgressBar.title = $"{taskProgressBar.value * 100:F1} %";