Price as String - Sorting false 😮

Does anyone know how to fix this/configurate this issue with a string price?
i send the price as a float to Algolia like:
‘price’=>number_format((float)$artikel[“price”], 2, ‘.’, ‘’),
But its always put in as a string:

Hi @dazzafact

i think this is a number_format issue. Check this thread (the solution for them was to use round instead of number_format).