Examples of ExprDouble


Examples of org.boris.expr.ExprDouble

{
    public Expr evaluate(Expr[] args) throws ExprException {
        assertArgCount(args, 2);
        double num = asDouble(args[0], true);
        int dps = asInteger(args[1], true);
        return new ExprDouble(Maths.roundDown(num, dps));
    }
View Full Code Here

Examples of railo.transformer.bytecode.expression.ExprDouble

    // +=
    if (data.cfml.isCurrent('=') && expr instanceof Variable) {
      data.cfml.next();
      comments(data);
      Expression right = assignOp(data);
      ExprDouble res = OpDouble.toExprDouble(expr, right,opr);
      expr=new OpVariable((Variable)expr,res);
    }
    /*/ ++
    else if (data.cfml.isCurrent(opr==OpDouble.PLUS?'+':'-') && expr instanceof Variable) {
      data.cfml.next();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.