title: Convert a decimal number to percentage in javascript
body: <p>I did a code to return a json, example bellow:</p>
  
  <pre><code>[
    {
      "id": "12345",
      "header": "&lt;a class=\"card-link\" href=\"http://www.google.com\" target=\"_blank\"&gt; 12345&lt;/a&gt;- solved-1",
      "title": "Training Summary Report",
      "description": "",
      "link": "",
      "labels": [
        {
          "filter": "type",
          "value": "course 1"
        },
        {
          "filter": "Subject",
          "value": "Sub. 1239"
        },
        {
          "filter": "Idea",
          "value": "Idea . 53"
        }
      ]
    }
  
      {
      "id": "12345",
      "header": "&lt;a class=\"card-link\" href=\"http://www.google.com\" target=\"_blank\"&gt; 12345&lt;/a&gt;- solved-1",
      "title": "Training Summary Report",
      "description": "",
      "link": "",
      "labels": [
        {
          "filter": "type",
          "value": "course 1"
        },
        {
          "filter": "Subject",
          "value": "Sub. 1239"
        },
        {
          "filter": "Idea",
          "value": "Idea . 53-34-98:0.0045, 98-11-00:0.09856, 44-22-88:0.09875, 22-98-90:0.3245"
        }
      ]
    }
  ]
  </code></pre>
  
  <p>These json what I have as result.
  I would like to change the decimal numbers in Idea value to percentage:</p>
  
  <pre><code>53-34-98:0.0045, 98-11-00:0.09856, 44-22-88:0.09875, 22-98-90:0.3245
  
  Expect result:
  
  53-34-98:0,45%, 98-11-00:9.8%, 44-22-88:9.875%, 22-98-90:32%
  </code></pre>
  
  <p>So the result become:</p>
  
  <pre><code>{
      "id": "12345",
      "header": "&lt;a class=\"card-link\" href=\"http://www.google.com\" target=\"_blank\"&gt; 12345&lt;/a&gt;- solved-1",
      "title": "Training Summary Report",
      "description": "",
      "link": "",
      "labels": [
        {
          "filter": "type",
          "value": "course 1"
        },
        {
          "filter": "Subject",
          "value": "Sub. 1239"
        },
        {
          "filter": "Idea",
          "value": "Idea . 53-34-98:0,45%, 98-11-00:9.8%, 44-22-88:9.875%, 22-98-90:32%"
        }
      ]
    }
  </code></pre>
  
  <p>My code is the following:</p>
  
  <pre><code>result = ""
              if(queryResult.final_Matrix[index] == null){
                  if(queryResult.idea[index] != null){
                      result = "Idea. " + queryResult.idea[index]
                  }
              }
              else{
                  result = "Idea. " + queryResult.final_Matrix[index]  // the result of this line is: "value": "Idea . 53-34-98:0,45%, 98-11-00:9.8%, 44-22-88:9.875%, 22-98-90:32%"
              }
  </code></pre>
  
  <p>Example final_Matrix column dataset:</p>
  
  <pre><code>53-34-98:0.0045, 98-11-00:0.09856, 44-22-88:0.09875, 22-98-90:0.3245
  </code></pre>
  
  <p>Someone can help me please to change my code to convert the decimal number to percentage ?
  Thank you</p>