Home
last modified time | relevance | path

Searched refs:round (Results 1 – 25 of 682) sorted by relevance

12345678910>>...28

/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
H A Dround.test2 "round" filter
4 {{ 2.7|round }}
5 {{ 2.1|round }}
6 {{ 2.1234|round(3, 'floor') }}
7 {{ 2.1|round(0, 'ceil') }}
9 {{ 21.3|round(-1)}}
10 {{ 21.3|round(-1, 'ceil')}}
11 {{ 21.3|round(-1, 'floor')}}
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Fonts/
H A DMetricsGenerator.php29 'CapHeight' => round($ttf->capHeight),
30 'XHeight' => round($ttf->xHeight),
31 'FontBBox' => '[' . round($ttf->bbox[0]) . " " . round($ttf->bbox[1]) . " " . round($ttf->bbox[2]) . " " . round($ttf->bbox[3]) . ']',
33 /* 'MaxWidth' => round($ttf->advanceWidthMax), // AdvanceWidthMax from hhea table NB ArialUnicode MS = 31990 ! */
35 'Ascent' => round($ttf->ascent),
36 'Descent' => round($ttf->descent),
37 'Leading' => round(
[all...]
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
H A Dround.rst1 ``round``
5 The ``round`` filter was added in Twig 1.15.0.
7 The ``round`` filter rounds a number to a given precision:
11 {{ 42.55|round }}
14 {{ 42.55|round(1, 'floor') }}
17 The ``round`` filter takes two optional arguments; the first one specifies the
31 The ``//`` operator is equivalent to ``|round(0, 'floor')``.
/plugin/barcodes/vendor/jucksearm/php-barcode/lib/
H A DBarcodeFactory.php191 $bw = round(($v['w'] * $w), 3);
192 $bh = round(($v['h'] * $h / $bcd['maxh']), 3);
194 $y = round(($v['p'] * $h / $bcd['maxh']), 3);
209 $bw = round(($v['h'] * $w / $bcd['maxh']), 3);
210 $bh = round(($v['w'] * $h), 3);
212 $x = round(($v['p'] * $h / $bcd['maxh']), 3);
245 $bw = round(($v['w'] * $w), 3);
246 $bh = round(($v['h'] * $h / $bcd['maxh']), 3);
274 $bh = round(($v['w'] * $h), 3);
329 $bw = round(($v['w'] * $w), 3);
[all …]
/plugin/odt/ODT/
H A DODTUnits.php141 return round ($value, 2).'pt';
153 return round ($value, 2).'pt';
178 $value = round (($value/self::$point_in_cm), 2).'pt';
181 $value = round (($value/(10 * self::$point_in_cm)), 2).'pt';
184 $value = round (($value * self::$inch_in_pt), 2).'pt';
187 $value = round (($value * self::$pc_in_pt), 2).'pt';
224 $value = round (($value * self::$point_in_cm), 2).'cm';
250 $value = round ((($value*self::$twips_per_point)/$this->twips_per_pixel_x), 2).'px';
252 $value = round ((($value*self::$twips_per_point)/$this->twips_per_pixel_y), 2).'px';
/plugin/combo/resources/brand/pocket/
H A Doutline-circle.svg2 <path d="M21 6V11C21 15.9706 16.9706 20 12 20C7.02944 20 3 15.9706 3 11V6C3 4.89543 3.89543 4 5 4H19C20.1046 4 21 4.89543 21 6Z" stroke-linecap="round" stroke-linejoin="round"></path>
3 <path d="M8 10L12 14L16 10" stroke-linecap="round" stroke-linejoin="round"></path>
H A Doutline.svg2 <path d="M21 6V11C21 15.9706 16.9706 20 12 20C7.02944 20 3 15.9706 3 11V6C3 4.89543 3.89543 4 5 4H19C20.1046 4 21 4.89543 21 6Z" stroke-linecap="round" stroke-linejoin="round"></path>
3 <path d="M8 10L12 14L16 10" stroke-linecap="round" stroke-linejoin="round"></path>
/plugin/serverinfos/serverinfos/lib/
H A DInfosServer.class.php163 return round(($ram/1073741824), 2)."Go";
169 return round(($ram[0]/1024), 2)."Go";
180 return round(($ram/1048576), 2)."Go";
188 return round(($ram/1073741824), 2)."Go";
319 $total = round(($data)/$conv,2);
327 $total = round(($tmp_dd[0])/$conv,2);
333 $total = round(($data)/$conv,2);
347 $free = round(($data)/$conv,2);
355 $free = round(($tmp_dd[0])/$conv,2);
362 $free = round(($data)/$conv,2);
/plugin/combo/ComboStrap/
H A DColorHsl.php126 intval(round($red)),
127 intval(round($green)),
128 intval(round($blue))
182 "h" => round($this->getHue() - $color->getHue(), 2),
183 "s" => round($this->getSaturation() - $color->getSaturation(), 2),
184 "l" => round($this->getLightness() - $color->getLightness(), 2),
/plugin/statdisplay/pchart/
H A DPieChart.php489 $TopPlots [$Key] [] = round ( $XCenterPos );
490 $BotPlots [$Key] [] = round ( $XCenterPos );
491 $TopPlots [$Key] [] = round ( $YCenterPos );
537 $TopPlots [$Key] [] = round ( $TopX );
538 $BotPlots [$Key] [] = round ( $TopX );
539 $TopPlots [$Key] [] = round ( $TopY );
547 $TopPlots [$Key] [] = round ( $XCenterPos2 );
548 $BotPlots [$Key] [] = round ( $XCenterPos2 );
549 $TopPlots [$Key] [] = round ( $YCenterPos2 );
582 $plotArray[] = round ( $PosX );
[all …]
/plugin/statistics/inc/pchart/
H A DPieChart.php266 $Caption = (round($Value * pow(10, $Decimals) * $SplicePercent) / pow(10, $Decimals))."%";
270 $Caption = $iLabels [$Key]."\r\n".(round($Value * pow(10, $Decimals) * $SplicePercent) / pow(10, $Decimals))."%";
272 $Caption = $iLabels [$Key]."\r\n".(round($Value * pow(10, $Decimals) * $SplicePercent) / pow(10, $Decimals))."%";
400 $TopPlots [$Key] [] = round($XPos + $XOffset);
401 $TopPlots [$Key] [] = round($YPos + $YOffset);
415 $TopPlots [$Key] [] = round($XPos + $XOffset);
416 $TopPlots [$Key] [] = round($YPos + $YOffset);
516 $TopPlots [$Key] [] = round($XCenterPos);
517 $BotPlots [$Key] [] = round($XCenterPos);
518 $TopPlots [$Key] [] = round(
[all...]
/plugin/dw2pdf/vendor/mpdf/qrcode/src/Output/
H A DPng.php45 (int) round(($i - $minSize) * $s),
46 (int) round(($j - $minSize) * $s),
47 (int) round(($i - $minSize + 1) * $s - 1),
48 (int) round(($j - $minSize + 1) * $s - 1),
/plugin/photogallery/phpThumb/
H A Dphpthumb.filters.php85 $alpha = round(($i / $width) * 127);
101 $radius = round(max(0, min($radius, 50)) * 2);
241 $r = round($amountPct * hexdec(substr($targetColor, 0, 2)));
1161 $text_width = round($max_x - $min_x);
1166 $text_height = round($max_y - $min_y);
1171 $char_height = round($char_max_y - $char_min_y);
1197 …$text_origin_x = ($originOffsetX ? $originOffsetX - round($text_width / 2) : round((imagesx($gdimg…
1202 …$text_origin_x = ($originOffsetX ? $originOffsetX - round($text_width / 2) : round((imagesx($gdimg…
1217 …$text_origin_x = ($originOffsetX ? $originOffsetX - round($text_width / 2) : round((imagesx($gdimg…
1269 $text_width_line = round($max_x_line - $min_x_line);
[all …]
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Argument/Token/
H A DApproximateValueToken.php35 … return round($argument, $this->precision) === round($this->value, $this->precision) ? 10 : false;
53 return sprintf('≅%s', round($this->value, $this->precision));
/plugin/diagramsnet/lib/img/lib/allied_telesis/computer_and_terminals/
H A DTablet_Alternative.svg1round"><path d="M52.8 25.504l3.7-2v52.7l-3.7 1.9z"/><path d="M16.1 3.404l3.7-1.9 36.7 22-3.7 2z"/>…
H A DServer_Desktop.svg1round"><path d="M24.3 39.242l45.2-24v48.9l-45.1 24z"/><path d="M1.5 25.442l45.2-23.9 22.8 13.7-45.…
/plugin/sha3sum/
H A DSha3.php45 for ($round = 0; $round < $rounds; $round++) {
108 $st[0][0] ^ $keccakf_rndc[$round][0],
109 $st[0][1] ^ $keccakf_rndc[$round][1]
179 for ($round = 0; $round < $rounds; $round++) {
246 $st[0][0] ^ $keccakf_rndc[$round][0],
247 $st[0][1] ^ $keccakf_rndc[$round][1],
248 $st[0][2] ^ $keccakf_rndc[$round][2],
249 $st[0][3] ^ $keccakf_rndc[$round][3]
/plugin/jplayer/vendor/james-heinrich/getid3/demos/
H A Ddemo.joinmp3.php76 …$start_offset_bytes = $CurrentFileInfo['avdataoffset'] + round(($CurrentFileInfo['bitrate'] / 8) *…
78 …$start_offset_bytes = $CurrentFileInfo['avdataend'] + round(($CurrentFileInfo['bitrate'] / 8) *…
84 …$end_offset_bytes = $start_offset_bytes + round(($CurrentFileInfo['bitrate'] / 8) * $len…
86 …$end_offset_bytes = $CurrentFileInfo['avdataend'] + round(($CurrentFileInfo['bitrate'] / 8) * $len…
/plugin/jdraw/src/com/mxgraph/examples/swing/editor/
H A DEditorRuler.java475 .round(Math.ceil(tickDistance / stepping) / 2) * 2; in paintComponent()
501 double xx = Math.round((x - tx) / stepping) * stepping + tx; in paintComponent()
503 int ix = (int) Math.round(xx); in paintComponent()
509 ix += (int) Math.round(stepping / 4); in paintComponent()
512 ix += (int) Math.round(stepping / 4); in paintComponent()
515 ix += (int) Math.round(stepping / 4); in paintComponent()
530 y = Math.round((y - ty) / stepping) * stepping + ty; in paintComponent()
532 int iy = (int) Math.round(y); in paintComponent()
543 iy += (int) Math.round(stepping / 4); in paintComponent()
546 iy += (int) Math.round(stepping / 4); in paintComponent()
[all …]
/plugin/farm/
H A Doverview.class.php78 $g = min(255, 511 - round($p * 511));
79 $r = min(255, round(511 * $p));
80 …: <span class="size_disp" style="background-color:rgb('.$r.','.$g.',0)">'.round(100 * $p).'% ('.$t…
87 $g = min(255, 511 - round($p * 511));
88 $r = min(255, round(511 * $p));
89 …: <span class="size_disp" style="background-color:rgb('.$r.','.$g.',0)">'.round(100 * $p).'% ('.$s…
123 $g = min(255, 511 - round($p * 511));
124 $r = min(255, round(511 * $p));
125 …: <span class="size_disp" style="background-color:rgb('.$r.','.$g.',0)">'.round(100 * $p).'% ('.$t…
/plugin/diagramsnet/lib/js/diagramly/util/
H A DmxJsCanvas.js647 this.ctx.translate(Math.round(x), Math.round(y));
649 this.ctx.translate(Math.round(-x), Math.round(-y));
686 …this.ctx.fillRect(Math.round(x) - 0.5, Math.round(y) - 0.5, Math.round(subCanvas.width / sc), Math…
692 …this.ctx.strokeRect(Math.round(x) - 0.5, Math.round(y) - 0.5, Math.round(subCanvas.width / sc), Ma…
701 this.ctx.drawImage(subCanvas, Math.round(x * sc) ,Math.round(y * sc));
775 startMostX = Math.round(startMostX) - 0.5;
776 backgroundY = Math.round(backgroundY) - 0.5;
/plugin/diagramsnet/lib/img/lib/allied_telesis/media_converters/
H A DMedia_Converter_Standalone.svg1round"><path d="M40.025 42.946L74.213 24.8v16.915L40.025 59.86z"/><path d="M40.02 42.946l.005 16.9…
H A DMedia_Converter_Standalone_POE.svg1round"><path d="M40.02 42.945l34.188-18.147.005 16.915-34.19 18.146z"/><path d="M40.02 42.945l.004…
H A DMedia_Converter_Modular.svg1round"><path d="M1.36 24.845L45.597 1.36l70.995 42.666-44.238 23.48z"/><path d="M72.355 67.506l.01…
/plugin/html2pdf/html2pdf/html2ps/
H A Doutput._generic.class.php119 return round(mm2pt($this->media->real_height()),2);
123 return round(mm2pt($this->media->real_width()),2);
127 return round(mm2pt($this->media->margins['left']),2);
131 return round($this->offset + mm2pt($this->media->height() - $this->media->margins['top']),2);
139 return round($this->offset +
184 $top = round($box->get_top(),2);
185 $bottom = round($box->get_bottom(),2);

12345678910>>...28