godot/modules/gdscript/tests/scripts/parser/features/operator_assign.gd

9 lines
85 B
GDScript

func test():
var i = 0
i += 5
i -= 4
i *= 10
i %= 8
i /= 0.25
print(round(i))