Home
last modified time | relevance | path

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

12345678910>>...18

/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])…
35 'Ascent' => round($ttf->ascent),
36 'Descent' => round($ttf->descent),
37 'Leading' => round($ttf->lineGap),
39 'StemV' => round($ttf->stemV),
42 'unitsPerEm' => round($ttf->unitsPerEm),
43 'up' => round($ttf->underlinePosition),
44 'ut' => round($ttf->underlineThickness),
[all …]
/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/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/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/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/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.php516 $TopPlots [$Key] [] = round($XCenterPos);
517 $BotPlots [$Key] [] = round($XCenterPos);
518 $TopPlots [$Key] [] = round($YCenterPos);
566 $TopPlots [$Key] [] = round($TopX);
567 $BotPlots [$Key] [] = round($TopX);
568 $TopPlots [$Key] [] = round($TopY);
576 $TopPlots [$Key] [] = round($XCenterPos2);
577 $BotPlots [$Key] [] = round($XCenterPos2);
578 $TopPlots [$Key] [] = round($YCenterPos2);
617 $plotArray[] = round($PosX);
[all …]
/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)));
1158 $text_width = round($max_x - $min_x);
1163 $text_height = round($max_y - $min_y);
1168 $char_height = round($char_max_y - $char_min_y);
1194 …$text_origin_x = ($originOffsetX ? $originOffsetX - round($text_width / 2) : round((imagesx($gdimg…
1199 …$text_origin_x = ($originOffsetX ? $originOffsetX - round($text_width / 2) : round((imagesx($gdimg…
1214 …$text_origin_x = ($originOffsetX ? $originOffsetX - round($text_width / 2) : round((imagesx($gdimg…
1266 $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/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/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/combo/ComboStrap/
H A DImage.php90 return $this->round($breakpointWidth / $this->getTargetAspectRatio());
144 return intval(round($computedWidth));
345 return self::round($requestedWidth / $this->getIntrinsicAspectRatio());
382 return self::round($this->getIntrinsicAspectRatio() * $requestedHeight);
411 public static function round(float $param): int function in ComboStrap\\Image
413 return intval(round($param));
/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/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/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);
/plugin/amcharts/assets/amcharts/
H A Dserial.js5round(b.l),l=Math.round(b.r),e=Math.round(b.t),b=Math.round(b.b);if(a=this.categoryAxis)b=this.get…
6round(l-g+c));d.top&&e<c+this.titleHeight&&(this.marginTop=Math.round(this.marginTop-e+c+this.titl…
12 …BottomReal;1>a&&(a=1);1>b&&(b=1);this.plotAreaWidth=Math.round(a);this.plotAreaHeight=Math.round(b…
13round(this.depth3D*Math.cos(this.angle*Math.PI/180));this.dy=Math.round(-this.depth3D*Math.sin(thi…
31 …(b=a+c));var d=this.minSelectedTime;if(0<d&&b-a<d){var g=Math.round(a+(b-a)/2),d=Math.round(d/2);a…
60 …l=this.firstTime,k=this.lastTime,m=c,a||(m=0),a=Math.round(e.fitToBounds(f-c*d,l,k-m)),h=Math.roun…
61 …is.zoom(a,h),n=!0}else if(f=this.start0,g=this.end0,c=g-f,d=Math.round(c*d),h=Math.round(c*h),l=th…
66round(g/2-J)+","+Math.round(d+I)+","+Math.round(g/2+J)+","+d+",0,"+d+","+g,l=l+(" L0,"+g)+(m+Math.
67 2+E)+","+Math.round(H)+","+Math.round(d/2-E)+","+Math.round(-H)+","+d+",0,0,0"):(l+="A"+I+","+J+",0…
74round(b/r)||p)b/v==Math.round(b/v)||p||(this.gridAlpha=this.minorGridAlpha,n=void 0);else continue…
[all …]
H A Dfunnel.js19 …is.realWidth&&0<this.realHeight){var b=Math.round(this.depth3D*Math.cos(this.angle*Math.PI/180)),c…
21 …h&&g>=y||h&&g<=y)p=2*-B/I;else if(!h&&g+p>y||h&&g-p<y)x=h?Math.round(p+(g-p-y)):Math.round(p-(g+p-…
26 …t,u,g,E,I,D,F,y){this.set=a.set();this.container=a;this.h=Math.round(c);this.w=Math.round(b);this.…
29 …:g,"fill-opacity":l},N?(l="M0,0 L"+d+","+(f/2-f/2*y),t=" B",0<d&&(t=" A"),e.VML?(l+=t+Math.round(d-
30round(f/2-L)+","+Math.round(d+J)+","+Math.round(f/2+L)+","+d+",0,"+d+","+f,l=l+(" L0,"+f)+(t+Math.
31 2+r)+","+Math.round(w)+","+Math.round(d/2-r)+","+Math.round(-w)+","+d+",0,0,0"):(l+="A"+J+","+L+",0…
32 …unction(a){isNaN(a)&&(a=0);this.w=Math.round(a);this.draw()},height:function(a){isNaN(a)&&(a=0);th…
H A Dxy.js5round(b.l),m=Math.round(b.r),k=Math.round(b.t),b=Math.round(b.b);if(a=this.categoryAxis)b=this.get…
6round(m-g+c));d.top&&k<c+this.titleHeight&&(this.marginTop=Math.round(this.marginTop-k+c+this.titl…
12 …BottomReal;1>a&&(a=1);1>b&&(b=1);this.plotAreaWidth=Math.round(a);this.plotAreaHeight=Math.round(b…
13round(this.depth3D*Math.cos(this.angle*Math.PI/180));this.dy=Math.round(-this.depth3D*Math.sin(thi…
/plugin/svgembed/
H A Dsyntax.php214 $svg_width = round(floatval($svg_xml->attributes()->width) * $svg_adjustment);
215 $svg_height = round(floatval($svg_xml->attributes()->height) * $svg_adjustment);
220 $svg_width = round(floatval($svg_viewbox[2]));
221 $svg_height = round(floatval($svg_viewbox[3]));
240 $svg_height = round($svg_height * $svg_max / $svg_width);
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dmodule.graphic.pcd.php77 $PCD_data_Cb = $this->fread(intval(round($PCD_width / 2)));
78 $PCD_data_Cr = $this->fread(intval(round($PCD_width / 2)));
135 round(
/plugin/geophp/geoPHP/lib/adapters/
H A DGeoHash.class.php218 $ll['medlat'] = round(($minlat+$maxlat)/2, max(1, -round(log10($latE)))-1);
219 $ll['medlon'] = round(($minlon+$maxlon)/2, max(1, -round(log10($lonE)))-1);
/plugin/cumulus/
H A Dsyntax.php132 if ($size < $min+round($delta)) $class = 'cloud1';
133 elseif ($size < $min+round(2*$delta)) $class = 'cloud2';
134 elseif ($size < $min+round(4*$delta)) $class = 'cloud3';
135 elseif ($size < $min+round(8*$delta)) $class = 'cloud4';
171 $fsize = 8 + round(($size-$min)/$delta);
/plugin/icalevents/vendor/sabre/vobject/bin/
H A Dbench_freebusygenerator.php49 return round($input / (1024 * 1024)) . 'M';
53 return round($input / 1024) . 'K';
H A Dbench_manipulatevcard.php56 return round($input / (1024 * 1024)) . 'M';
60 return round($input / 1024) . 'K';
/plugin/socialite/images/
H A Dreddit.svg6 …42"/><circle cx="375" cy="114" r="32"/></g><g stroke-linecap="round" stroke-linejoin="round" fill=…

12345678910>>...18