Use the Rtrim expression type to trim trailing characters from a string (on the right side).
Use parameters that follow this form:
rtrim(Dimension,"0") where you specify both the dimension and the character to trim. For example, to trim all trailing "0 " characters when the source is "123000", specify:
rtrim(Dimension, "0") as the expression. In this example, the result is: 123.