original_string: public static function unlocalize($formula) {
          $formula = str_replace(get_string('decsep', 'langconfig'), '$', $formula);
          $formula = str_replace(get_string('listsep', 'langconfig'), ',', $formula);
          $formula = str_replace('$', '.', $formula); // temp placeholder
          return $formula;
      }
code: public static function unlocalize($formula) {
          $formula = str_replace(get_string('decsep', 'langconfig'), '$', $formula);
          $formula = str_replace(get_string('listsep', 'langconfig'), ',', $formula);
          $formula = str_replace('$', '.', $formula); // temp placeholder
          return $formula;
      }
code_tokens: public static function unlocalize ( $ formula ) { $ formula = str_replace ( get_string ( 'decsep' , 'langconfig' ) , '$' , $ formula ) ; $ formula = str_replace ( get_string ( 'listsep' , 'langconfig' ) , ',' , $ formula ) ; $ formula = str_replace ( '$' , '.' , $ formula ) ; // temp placeholder return $ formula ; }
docstring: Similar to unformat_float, converts floats and lists to PHP standards.
  @param string $formula localised formula
  @return string
docstring_tokens: Similar to unformat_float converts floats and lists to PHP standards .