forked from firka/student-legacy
changed 0.00 class average to ?
This commit is contained in:
parent
6416af3928
commit
a024ac674d
@ -37,7 +37,7 @@ class StatisticsTile extends StatelessWidget {
|
|||||||
valueText = valueText.replaceAll(".", ",");
|
valueText = valueText.replaceAll(".", ",");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (value.isNaN) {
|
if (value.isNaN || value == 0) {
|
||||||
valueText = "?";
|
valueText = "?";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user