title: Show decimal numbers in Google Chart API
body: <p>I'm working with a Google column chart here and I can't figure out how to display my values with decimals in my chart, the only way I can show my values is to include <code>.ToString(".")</code> which removes all decimals and just shows a whole number. </p>
  
  <p>Is there a way to solve this, I'd like to have one decimal shown. e.g. <code>(6,2)</code></p>
  
  <pre><code>&lt;script&gt;
  
      google.charts.load('current', {
          'packages': ['corechart']
      });
      google.charts.setOnLoadCallback(drawVisualization);
  
  
      function drawVisualization() {
          var data = google.visualization.arrayToDataTable([
          ['Lift', 'Total', 'Squat', 'Benchpress', 'Deadlift'],
          ['Lift', @average.ToString("."), @saverage.ToString("."), @baverage.ToString("."), @daverage.ToString(".")],
  
      ]);
      var options = {
          title: 'Average reps per set',
          backgroundColor: { fill: 'transparent' },
          explorer: { axis: 'horizontal' },
          vAxes: {
              0: { logScale: false, viewWindow: { min: 0 } },
              1: { logScale: false, maxValue: 2 }
          },
          hAxis: { title: '' },
          seriesType: 'bars',
          curveType: 'function',
          series: {
              0: { targetAxisIndex: 0, color: '#20f400' },
          }
      };
  
      var chart = new google.visualization.ComboChart(document.getElementById('chart_div'));
          chart.draw(data, options);
      }
  &lt;/script&gt;
  </code></pre>