lets(habits,
map(prop("Daily habits"), current.prop("Done")),
todo,
map(prop("To-do list"), current.prop("Done")),
auzon,
map(prop("أذن خير"), current.prop("Done")),
round((
(habits.filter(current == true).length() + todo.filter(current == true).length() + auzon.filter(current == true).length()) / (habits.length() + todo.length() + auzon.length())*100)/100)
)
当我尝试计算数据库中新列中这三列的进度时,这三列的总百分比是(天),它并没有给出它们的总数,只是给了我 100%,但我没有' t 选择如图所示的整个任务。
我尝试修复它并使函数正确计算进度。
已修复 这是一个多余的括号“)”