title: Most efficient way to format a string in scala with leading Zero's and a comma instead of a decimal point
body: <p>Trying to create a simple function whereby a String value is passed in i.e. "1" and the formatter should return the value with leading zeros and 5 decimal points however instead of a dot '.' I'm trying to return it with a comma ','</p>
  
  <p>This is what I have attempted however its not working because the decimalFormatter can only handle numbers and not a string. The end goal is to get from "1" to "000000001,00000" - character length is 14 in total. 5 0's after the comma and the remaining before the comma should be padded out 0's to fill the 9 digit requirement.</p>
  
  <p>Another example would be going from "913" to "000000913,00000"</p>
  
  <pre><code> def numberFormatter (value: String): String =
  {
       import java.text.DecimalFormat
       val decimalFormat = new DecimalFormat("%09d,00000")
       val formattedValue = decimalFormat.format(value)
       return formattedValue
  }
  </code></pre>
  
  <p>Any help would be much appreciated. Thank you in advance.</p>