Skip to main content
Topic: Bug in to_number format field (Read 1942 times) previous topic - next topic

Bug in to_number format field

PHPRad classic 2.6.9
Bug : mismatch coding in function helper online 559


Fix by : DECIMAL
function to_number($val,$lang='en'){
      $f = new NumberFormatter($lang, NumberFormatter::DECIMAL);
      return $f->format($val);
   }

Tin.