Hi Julien Devanthey,
The Round function will help you to bring the value to a certain precision. Refer the below documentation
Maybe this can help you https://docs.mendix.com/refguide/parse-and-format-decimal-function-calls
You can use Round function with your decimal value.
if you want decimal into String you just pass toString method.
Hope this will help you