Hi, I'm trying to convert a decimal (20,3) to a varchar or char length of 8. So for example if my decimal is 475.20 I need it to return 00000475 (without the pence), and then if it's 0.00 I need it to return 00000000.
Can somebody advise of the syntax I need? Tried searching but can't find anything