errant/tacit

View on GitHub
src/Instruction/Math/Mod.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php 
namespace Tacit\Instruction\Math;
/**
 * Modulus
 *
 * @author Tom Morton
 */
class Mod extends \Tacit\Instruction\BinaryOperation {

    public $command = 'MOD';

    public function transform($left, $right)
    {
        return $left % $right;
    }
}