Support the ongoing development of Laravel.io →
posted 4 years ago
Laravel

i am working on pomodoro technique project. In this project i have two types task completed task and incomplete task. we assign time to specific task and start timmer when its time end it become complete task. So i want to find percentage of completed task mean how mant task completed. $this->taskPercentage[] = number_format((Project::GetProjectTaskTimeByProjectId($project->id, $request->date)/(($totalIncompleteTask === 0 ) ? 1 : $totalIncompleteTask)),0); iam using this technique but its not correct kindly guide melara

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.