using System; using System.Collections.Generic; using System.Text; using Sunweaver.Commands.Attributes; namespace Sunweaver.Commands.BinaryMath { [BasePair] public class div : Abstracts.BinaryOperation { public override void Operation(long a, long b) { if (b != 0) VM.Stack.Push(a / b); else VM.Stack.Push(0); } } }