Rounding issue in a TMap in Talend

Elodie -  
 Elodie -
Hello,
I'm programming in Talend and I'm having an issue rounding a number in a TMap.
Here’s my line:
Math.round((FT.FISHING_TIME / (sEngJour.NB_ENG == null ? 1 : sEngJour.NB_ENG)),5)
I'm getting a syntax error but I can't find it.
The ROUND function works perfectly in my query but it doesn't work in my TMap.
If anyone has something to suggest, I’d appreciate it.
Thank you in advance.

1 answer