I have a decimal field. I want it to be appened with .00 when it having no decimal point. Like:
decimal d;
when d = 123 output should be 123.00
when d = 123.5 output should be 123.50
when d = 123.51 output should be 123.51
Note: Want the output in decimal only.