Server Data Formatter - division operator wrongly seen as RegExp

This seems as a bug in the server side parser. @patrick will check it out

1 Like

A post was split to a new topic: Server Data Formatter - Operation not working

Quick heads up as I ran into this as well.

message “Unterminated RegExp in expression {{order_amount.toNumber()/100}}”

If I multiply by 0.01 instead, it works just fine :
{{order_amount.toNumber()*0.01}}

If order_amount is already a number and no casting is needed, it works just fine too :
{{order_amount/100}}

Thank you ! :slight_smile: