How to compare values of two string representations of a double bundle agent main { vars: "one" real => "5"; "two" real => "5.000000"; "three" string => "5"; "four" string => "5.000000"; classes: "set1_equal" expression => eval("$(one)==$(two)", class, infix); "set2_equal" expression => eval("$(three)==$(four)", class, infix); reports: "CFEngine $(sys.cf_version)"; set1_equal:: "$(one) == $(two)"; set2_equal:: "$(three) == $(four)"; } R: CFEngine 3.14.0a.4e12fcf75 R: 5.000000 == 5.000000 R: 5 == 5.000000