title: How do I do string replace in JavaScript to convert ‘9.61’ to ‘9:61’?
body: <p>Given the code line</p>
  
  <pre><code>var value = $("#text").val();
  </code></pre>
  
  <p>and <code>value = 9.61</code>, I need to convert <code>9.61</code> to <code>9:61</code>. How can I use the JavaScript replace function here?</p>