Function __global->number_raw_string

Definitions

sources/graphs.php

  • Prepare a numeric value for display in a graph.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$value mixed No No required parameter N/A N/A Value

Returns

  • Value for chart.js
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Prepare a numeric value for display in a graph.
 *
 * @param  mixed $value Value
 * @return string Value for chart.js
 */

function number_raw_string($value) : string