decimal function
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;