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

9 lines
85 B
GDScript3
Raw Normal View History

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