How to convert field types and compare queries in queries

search dql like this:
{
result (func: type(ci.L2Product)) @cascade @normalize {
ci.have_l3_product{
ci.have_spec
@filter(eq(ci.spec_name,“displaySize”) and gt(ci.spec_value,12.0))
{
ci.spec_value
}
}
}
}

return result
“result”: [
{
“value”: “8.8”
},
{
“value”: “14.5”
},
{
“value”: “12.7”
},
{
“value”: “8.8”
}
]

Predicate: ci.spec_value
Type: string
!!!How can I query without changing the field type