public final class NumberRange extends Object
Constructor and Description |
---|
NumberRange() |
Modifier and Type | Method and Description |
---|---|
static double |
range(double number,
double from)
checks if number is greater than from (inlude from)
|
static double |
range(double number,
double from,
double to)
checks if number between from and to (inlude from and to)
|
static int |
range(int number,
int from) |
public NumberRange()
public static double range(double number, double from, double to) throws ExpressionException
number
- from
- to
- ExpressionException
public static double range(double number, double from) throws ExpressionException
number
- from
- ExpressionException
public static int range(int number, int from) throws ExpressionException
ExpressionException
Copyright © 2015 Lucee