Hi Amol,
An easier way to do is:
1) Get rid of the "-" sign from the above code
2) Right-click the formula field > Format Field > Number tab > Customize > Click the formula button beside 'Reverse Sign for Display" and use this code:
{@fmlCredit}="C"
-Abhilash