roundNumber function
Implementation
double? roundNumber(String? number) {
/// MODIFY CODE ONLY BELOW THIS LINE
// round number 2 decimal
if (number == null) {
return 0.00;
}
return double.parse(number).roundToDouble();
/// MODIFY CODE ONLY ABOVE THIS LINE
}