<human>:  Format string - spaces between every three digit
<bot>: Here is some code to insert ' ' between every three digit before '.' and replace ',' with '.' in 12345678.46

format(12345678.46, ',').replace(',', ' ').replace('.', ',')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.