Skip to content
Advertisement

Remove Trailing Zeros when Casting to Money

How to remove the zeros

Output

Expected Output

Advertisement

Answer

Use FORMAT:

The money type output includes a decimal component for change. But, since you don’t want to see that it might be easier to just use FORMAT instead.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement