I just want to compare two decimal values in if statement
if( (item.state as DecimalType) < (min.state as DecimalType) ){
}
vscode gives me error message
Ambiguous binary operation.
The operator declarations
operator_lessThan(Number, Number) in NumberExtensions and
operator_lessThan(Type, Number) in NumberExtensions
both match.(org.eclipse.xtext.xbase.validation.IssueCodes.ambiguous_feature_call)