Exists some mask or function that make next?:
1.- If a quantity is 1500.000 should display 1,500
2.- If a quantity is 1500.010 should display 1,500.01
3.- If a quantity is 1500.555 should display 1,500.555
In others words, only display decimals if apply.