decimal function

LivrRule decimal(
  1. List<Object?> args,
  2. RuleContext context
)

decimal: the value must be a number, an integer or a decimal. Strings are accepted in the form -12 or -12.34, and the output is always a double.

Implementation

LivrRule decimal(List<Object?> args, RuleContext context) => _decimal;