Searched refs:number_format (Results 1 – 25 of 41) sorted by relevance
12
2 "number_format" filter with defaults.4 {{ 20|number_format }}5 {{ 20.25|number_format }}6 {{ 20.25|number_format(1) }}7 {{ 20.25|number_format(2, ',') }}8 {{ 1020.25|number_format }}9 {{ 1020.25|number_format(2, ',') }}10 {{ 1020.25|number_format(2, ',', '.') }}
2 "number_format" filter4 {{ 20|number_format }}5 {{ 20.25|number_format }}6 {{ 20.25|number_format(2) }}7 {{ 20.25|number_format(2, ',') }}8 {{ 1020.25|number_format(2, ',') }}9 {{ 1020.25|number_format(2, ',', '.') }}
1 ``number_format``5 The ``number_format`` filter was added in Twig 1.57 The ``number_format`` filter formats numbers. It is a wrapper around PHP's8 `number_format`_ function:12 {{ 200.35|number_format }}19 {{ 9800.333|number_format(2, '.', ',') }}26 {{ -9800.333|number_format(2, '.', ',') }} {# outputs : -9 #}27 {{ (-9800.333)|number_format(2, '.', ',') }} {# outputs : -9,800.33 #}46 The defaults set for ``number_format`` can be over-ridden upon each call using the56 .. _`number_format`: https://secure.php.net/number_format target
25 number_format
124 echo 'File parsed in '.number_format($endtime - $starttime, 3).' seconds.<br>';218 echo 'Directory scanned in '.number_format($endtime - $starttime, 2).' seconds.<br>';280 echo '<td align="right"> '.number_format($fileinfo['filesize']).'</td>';342 …echo '<td align="right"> '.(isset($fileinfo['filesize']) ? number_format($fileinfo['filesize'…377 …echo '<td align="right">'.number_format($TotalScannedFilesize / max($TotalScannedKnownFiles, 1)).'…381 …number_format($TotalScannedKnownFiles).'</td><td> </td><th align="right">Errors:<…385 echo '<td align="right">'.number_format($TotalScannedFilesize).'</td>';450 …: #'.BitrateColor($bitrate).($vbr ? '; font-weight: bold;' : '').'">'.number_format($bitrate, $dec…525 …$returnstring .= '<tr><td><b>width</b></td><td>'.number_format($imagechunkcheck[0]).' px</td></tr>…526 …$returnstring .= '<tr><td><b>height</b></td><td>'.number_format($imagechunkcheck[1]).' px</td></tr…[all …]
399 echo 'Deleted <b>'.number_format($DupesDeleted).'</b> duplicate filenames<hr>';463 …echo '<br>'.date('H:i:s').' ['.number_format(++$rowcounter).' / '.number_format($totaltoprocess).'…638 …number_format($MissingTrackVolumeFilesAdjusted).' of them (could not find info for '.number_format…704 …echo '<hr><b>'.number_format($totalremoved).' of '.number_format($totalchecked).' files in databas…808 echo '<td align="right">'.number_format($Count).'</td>';851 echo '<b>'.number_format($EmptyGenreCounter).'</b> files with empty genres';933 echo '<b>'.number_format($TrackZeroCounter).'</b> files with track "zero"';1326 …echo 'Found <b>'.number_format($NotOKfiles).'</b> files with unsynchronized tags, and auto-fixed '…1735 …echo number_format($uniquefiles).' files with '.number_format($uniquetitles).' unique <i>aritst + …1943 echo '<TD ALIGN="RIGHT">'.number_format($row['num']).'</td>';[all …]
236 $t = number_format(($End - $Start) / 60, 2);
29 if($data['below']) $renderer->doc .= number_format($data['number']);31 if(!$data['below']) $renderer->doc .= number_format($data['number']);
87 $output .= '<td>'.number_format(($price*$form['tickets']) + $porto,2,',','.').' '.$data['currency'];88 $output .= ' ('.$form['tickets'].' x '.number_format($price,2,',','.').' '.$data['currency'].' + '.…
80 $template = str_replace('{price}', number_format($data['price'],2,',','.'), $template);92 $template = str_replace('{porto}', number_format($porto,2,',','.'), $template);93 $template = str_replace('{total_price}', number_format($total_price,2,',','.'), $template);
118 …$porto = number_format($this->_get_porto($data, $countries[0]), 2, ",", ":").' '.$data['currency']…120 $output .= ' ('.$this->getLang("ppu").': '.number_format($data['price'],2,",",":").' '.$data['curre…
526 … Your setting ('.$memory_limit.') allows images up to approximately '.number_format($memory_limit_…536 $value = number_format($seconds, 0);542 $value = number_format($minutes, $precision);548 $value = number_format($hours, $precision);554 $value = number_format($days, $precision);560 $value = number_format($months, $precision);566 $value = number_format($years, $precision);
193 …print("|" . $line["k"] . "| ". number_format($line["s"], $format) . $metrics ." | " . num…200 …print("| (SUM) **all systems** | " . $sum . $metrics . " | " . number_format(($sum / $system…
71 …->warning('playtime_ms ('.number_format($info['dss']['playtime_ms'] / 1000, 3).') does not match p…
52 …this->error('File is too large ('.number_format($info['filesize']).' bytes) to read into memory (l…
483 return number_format($encoderversion / 100, 2);488 return number_format($encoderversion / 100, 2).' beta';493 return number_format($encoderversion / 100, 2).' alpha';
64 $data [1] = number_format ((float)$data[1], 4);65 $data [2] = number_format ((float)$data[2], 4);
77 $value = number_format(120 * Works like number_format but keeps the decimals as is134 $out = number_format(abs((float) $tmp[0]), 0, $dec_point, $thousands_sep);
143 $out=number_format($tmp[0], 0, $this->getLang('calc_sepdec'), $this->getLang('calc_sepmil'));
112 $score = number_format((($syllables / count($words)) * 100));
142 $result = number_format($result,$decimals,$sepdec,$sepmil);
110 $out = number_format(abs(floatval($tmp[0])), 0, $dec_point, $thousands_sep);
1087 public static function number_format( $value, $decimals = 0 ) { function in EvalMath_Functions1088 return number_format( $value, $decimals, '.', ',' );1103 return number_format( $value, $decimals, ',', ' ' );
803 …number_format($this->config_cache_maxage / 86400, 1)).' days; '.(null === $this->config_cache_maxs…980 …$this->DebugMessage('ResolveSource() exiting because $this->rawImageData is set ('.number_format(s…2122 if (number_format($amount, 3) != '1.000') {2295 …eshellarg_replacement(number_format(($radius * 2) - 1, 2, '.', '').'x1+'.number_format($amount / 1…3101 …$this->DebugMessage('Scaling watermark by a factor of '.number_format($scale, 4), __FILE__, __LINE…3214 …h ? 'with' : 'without').' stretch) by a factor of "'.number_format($scale_x, 4).' x '.number_forma…3594 if (number_format($source_ar, 2) != number_format($exif_ar, 2)) {3882 ….$this->source_height.' = '.number_format($this->source_width * $this->source_height / 1000000, 1)…3952 if (number_format($source_ar, 2) != number_format($exif_ar, 2)) {4323 …$DebugOutput[] = ' * Total processing time: '.number_format(max(array_keys($this->debugtiming)) -…[all …]