setDecimalVariable method

Expression setDecimalVariable(
  1. String variable,
  2. Decimal? value
)

Sets a variable value.

variable - The variable name. value - The variable value. Returns the expression, allows to chain methods.

Implementation

Expression setDecimalVariable(String variable, Decimal? value) {
  return setLazyVariable(variable, createLazyNumber(value));
}