original_string: public static function localize($formula) {
          $formula = str_replace('.', '$', $formula); // temp placeholder
          $formula = str_replace(',', get_string('listsep', 'langconfig'), $formula);
          $formula = str_replace('$', get_string('decsep', 'langconfig'), $formula);
          return $formula;
      }
code: public static function localize($formula) {
          $formula = str_replace('.', '$', $formula); // temp placeholder
          $formula = str_replace(',', get_string('listsep', 'langconfig'), $formula);
          $formula = str_replace('$', get_string('decsep', 'langconfig'), $formula);
          return $formula;
      }
code_tokens: public static function localize ( $ formula ) { $ formula = str_replace ( '.' , '$' , $ formula ) ; // temp placeholder $ formula = str_replace ( ',' , get_string ( 'listsep' , 'langconfig' ) , $ formula ) ; $ formula = str_replace ( '$' , get_string ( 'decsep' , 'langconfig' ) , $ formula ) ; return $ formula ; }
docstring: Similar to format_float, formats the numbers and list separators
  according to locale specifics.
  @param string $formula
  @return string localised formula
docstring_tokens: Similar to format_float formats the numbers and list separators according to locale specifics .