error Round fonction

Does anyone know how to correct this error? the line is supposed to be correct but displays the error “Expected definition but found if”.
Capture d’écran 2024-07-17 115159
Thanks