1 16 19 package com.sun.org.apache.xpath.internal.operations; 20 21 import com.sun.org.apache.xpath.internal.objects.XNumber; 22 import com.sun.org.apache.xpath.internal.objects.XObject; 23 24 28 public class Quo extends Operation 29 { 30 31 33 44 public XObject operate(XObject left, XObject right) 45 throws javax.xml.transform.TransformerException  46 { 47 return new XNumber((int) (left.num() / right.num())); 48 } 49 } 50 | Popular Tags |