001    package railo.runtime.interpreter.ref.op;
002    
003    import railo.runtime.PageContext;
004    import railo.runtime.exp.PageException;
005    import railo.runtime.interpreter.ref.Ref;
006    
007    /**
008     * Dividie operation
009     */
010    public final class BigIntDiv extends Big {
011    
012            /**
013             * constructor of the class
014             * @param left
015             * @param right
016             */
017            public BigIntDiv(Ref left, Ref right) {
018                    super(left,right);
019            }
020    
021            @Override
022            public Object getValue(PageContext pc) throws PageException {
023                    return getLeft(pc).toBigInteger().divide(getRight(pc).toBigInteger()).toString();
024            }
025    }