I have a money field which is 10 in character
The requirement is for example
-365.67.
should come out
-0000036589
presently my result is
0000-36589 because I am using the following
+ convert(char(10), replicate('0',10-len(replace(convert(varchar,t.AllowedAmount),'.','')))
+replace(convert(varchar,t.AllowedAmount),'.',''))
which adds 0000000000 to the value
How do I work around this to me give the desired result.
-0000036589
Thanks


