class OverflowForDecimal def main is shared a as number = 79_228_162_514_264_337_593_543_950_33.4 assert a.getType is float32 # literal > max decimal b as number = 80_228_162_514_264_337_593_543_950_335.1 # .error. Decimal range overflow assert b.getType is float32 c = 85_228_162_514_264_337_593_543_950_335.1 # .error. Decimal range overflow assert c.getType is float32