changing the format of decimal in a csv file
<p>I have a CSV file that has this format : </p>

<pre class="lang-html prettyprint-override"><code>ffsdfff llkkfk fdflmk,000,1254489632,-1256.56,,0
jlfgdgf gfgfkl kiefnf,000,2548562325,2141.6,,262.54
dfgjklf kklfgk llfsmf,000,8654344845,25.3,8654344845,-25.25
sdfsklf dfsdfg gfdggs,000,2256352124,20,2256352124,-19
</code></pre>



<p>I am struggling to get this result : </p>

<pre class="lang-html prettyprint-override"><code>ffsdfff llkkfk fdflmk,000,1254489632,-,000000000001256560,          ,+,000000000000000000
jlfgdgf gfgfkl kiefnf,000,2548562325,+,000000000002141600,          ,+,000000000000262540
dfgjklf kklfgk llfsmf,000,8654344845,+,000000000000025300,8654344845,-,000000000000025250
sdfsklf dfsdfg gfdggs,000,2256352124,+,000000000000020000,2256352124,-,000000000000019000
</code></pre>



<p>I am looking to separate the sign(+/-) from the decimal numbers. then changing the actual length of each decimal to 18.(The decimal part of the number has a max lenght of 3).</p>

<p>If the Fourth field is empty , I have to add 10 blank space to it.</p>