show double only when it is double flutter code example Example: flutter round up double int doubleRoundUp = doubleToRoundUp.ceil();