mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-23 16:31:50 +01:00
Added function to get title. Updated rules for multiple games to use title function.
This commit is contained in:
parent
d5edde9d56
commit
e7f751e187
@ -1,10 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = $fullWidth / 1280.0;
|
$scaleFactorX = $fullWidth / 1280.0;
|
||||||
$scaleFactorY = $fullHeight / 720.0;
|
$scaleFactorY = $fullHeight / 720.0;
|
||||||
|
|
||||||
$title = $fullWidth . "x" . $fullHeight;
|
$title = get_title($fullWidth, $fullHeight);
|
||||||
?>
|
?>
|
||||||
[Definition]
|
[Definition]
|
||||||
titleIds = 000500001014DB00,0005000010157E00,0005000010157F00
|
titleIds = 000500001014DB00,0005000010157E00,0005000010157F00
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = $fullWidth / 1280.0;
|
$scaleFactorX = $fullWidth / 1280.0;
|
||||||
$scaleFactorY = $fullHeight / 720.0;
|
$scaleFactorY = $fullHeight / 720.0;
|
||||||
|
|
||||||
$title = $fullWidth . "x" . $fullHeight;
|
$title = get_title($fullWidth, $fullHeight);
|
||||||
?>
|
?>
|
||||||
[Definition]
|
[Definition]
|
||||||
titleIds = 0005000010172600,0005000010172700,000500001011B900
|
titleIds = 0005000010172600,0005000010172700,000500001011B900
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
include 'functions.php';
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||||
|
@ -1,14 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = $fullWidth / 1280.0;
|
$scaleFactorX = $fullWidth / 1280.0;
|
||||||
$scaleFactorY = $fullHeight / 720.0;
|
$scaleFactorY = $fullHeight / 720.0;
|
||||||
|
|
||||||
$title = $fullWidth . "x" . $fullHeight;
|
$title = get_title($fullWidth, $fullHeight);
|
||||||
|
|
||||||
$aspect = $fullWidth / (float)$fullHeight;
|
|
||||||
if (round($aspect*10) == 23 || round($aspect*10) == 24)
|
|
||||||
$title = $title . " (21:9)";
|
|
||||||
?>
|
?>
|
||||||
[Definition]
|
[Definition]
|
||||||
titleIds = 00050000101C9300,00050000101C9400,00050000101C9500
|
titleIds = 00050000101C9300,00050000101C9400,00050000101C9500
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$halfWidth = $fullWidth / 2;
|
$halfWidth = $fullWidth / 2;
|
||||||
@ -6,12 +7,7 @@ $halfHeight = $fullHeight / 2;
|
|||||||
$quarterWidth = $fullWidth / 4;
|
$quarterWidth = $fullWidth / 4;
|
||||||
$quarterHeight = $fullHeight / 4;
|
$quarterHeight = $fullHeight / 4;
|
||||||
|
|
||||||
$title = $fullWidth . "x" . $fullHeight;
|
$title = get_title($fullWidth, $fullHeight);
|
||||||
|
|
||||||
$aspect = $fullWidth / (float)$fullHeight;
|
|
||||||
if (round($aspect*10) == 23 || round($aspect*10) == 24)
|
|
||||||
$title = $title . " (21:9)";
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
[Definition]
|
[Definition]
|
||||||
titleIds = 0005000010180600,0005000010180700,0005000010180500
|
titleIds = 0005000010180600,0005000010180700,0005000010180500
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = $fullWidth / 1280.0;
|
$scaleFactorX = $fullWidth / 1280.0;
|
||||||
$scaleFactorY = $fullHeight / 720.0;
|
$scaleFactorY = $fullHeight / 720.0;
|
||||||
|
|
||||||
$title = $fullWidth . "x" . $fullHeight;
|
$title = get_title($fullWidth, $fullHeight);
|
||||||
?>
|
?>
|
||||||
[Definition]
|
[Definition]
|
||||||
titleIds = 000500001017D800,000500001017D900,000500001017CD00
|
titleIds = 000500001017D800,000500001017D900,000500001017CD00
|
||||||
|
@ -1,14 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = $fullWidth / 1280.0;
|
$scaleFactorX = $fullWidth / 1280.0;
|
||||||
$scaleFactorY = $fullHeight / 720.0;
|
$scaleFactorY = $fullHeight / 720.0;
|
||||||
|
|
||||||
$title = $fullWidth . "x" . $fullHeight;
|
$title = get_title($fullWidth, $fullHeight);
|
||||||
|
|
||||||
$aspect = $fullWidth / (float)$fullHeight;
|
|
||||||
if (round($aspect*10) == 23 || round($aspect*10) == 24)
|
|
||||||
$title = $title . " (21:9)";
|
|
||||||
?>
|
?>
|
||||||
[Definition]
|
[Definition]
|
||||||
titleIds = 000500001010ec00,000500001010ed00,000500001010eb00,ffffffff85887bc1
|
titleIds = 000500001010ec00,000500001010ed00,000500001010eb00,ffffffff85887bc1
|
||||||
|
@ -1,14 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$scaleFactorX = $fullWidth / 1280.0;
|
$scaleFactorX = $fullWidth / 1280.0;
|
||||||
$scaleFactorY = $fullHeight / 720.0;
|
$scaleFactorY = $fullHeight / 720.0;
|
||||||
|
|
||||||
$title = $fullWidth . "x" . $fullHeight;
|
$title = get_title($fullWidth, $fullHeight);
|
||||||
|
|
||||||
$aspect = $fullWidth / (float)$fullHeight;
|
|
||||||
if (round($aspect*10) == 23 || round($aspect*10) == 24)
|
|
||||||
$title = $title . " (21:9)";
|
|
||||||
?>
|
?>
|
||||||
[Definition]
|
[Definition]
|
||||||
titleIds = 0005000010176900,0005000010176A00,0005000010162B00
|
titleIds = 0005000010176900,0005000010176A00,0005000010162B00
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
include 'Source/functions.php';
|
||||||
$fullWidth = $argv[1];
|
$fullWidth = $argv[1];
|
||||||
$fullHeight = $argv[2];
|
$fullHeight = $argv[2];
|
||||||
$halfWidth = $fullWidth / 2;
|
$halfWidth = $fullWidth / 2;
|
||||||
@ -6,12 +7,7 @@ $halfHeight = $fullHeight / 2;
|
|||||||
$quarterWidth = $fullWidth / 4;
|
$quarterWidth = $fullWidth / 4;
|
||||||
$quarterHeight = $fullHeight / 4;
|
$quarterHeight = $fullHeight / 4;
|
||||||
|
|
||||||
$title = $fullWidth . "x" . $fullHeight;
|
$title = get_title($fullWidth, $fullHeight);
|
||||||
|
|
||||||
$aspect = $fullWidth / (float)$fullHeight;
|
|
||||||
if (round($aspect*10) == 23 || round($aspect*10) == 24)
|
|
||||||
$title = $title . " (21:9)";
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
[Definition]
|
[Definition]
|
||||||
titleIds = 0005000010145D00,0005000010145C00,0005000010106100
|
titleIds = 0005000010145D00,0005000010145C00,0005000010106100
|
||||||
|
35
Source/functions.php
Normal file
35
Source/functions.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
function always_decimal_format($x) { return (intval($x) == $x ? number_format($x, 1, '.', '') : $x ); }
|
||||||
|
function gcd($a,$b) {
|
||||||
|
$a = abs($a); $b = abs($b);
|
||||||
|
if( $a < $b) list($b,$a) = Array($a,$b);
|
||||||
|
if( $b == 0) return $a;
|
||||||
|
$r = $a % $b;
|
||||||
|
while($r > 0) {
|
||||||
|
$a = $b;
|
||||||
|
$b = $r;
|
||||||
|
$r = $a % $b;
|
||||||
|
}
|
||||||
|
return $b;
|
||||||
|
}
|
||||||
|
function simplify($num,$den) {
|
||||||
|
$g = gcd($num,$den);
|
||||||
|
return Array($num/$g,$den/$g);
|
||||||
|
}
|
||||||
|
function get_title($width, $height) {
|
||||||
|
$title = $width . "x" . $height;
|
||||||
|
$ratio = simplify($width, $height);
|
||||||
|
if ($ratio[0] != 16 && $ratio[1] != 9) {
|
||||||
|
if ($ratio[0] == 64 && $ratio[1] == 27) {
|
||||||
|
// 64:27 is the true ratio, but 21:9 is the common approximation
|
||||||
|
$title = $title . " (21:9)";
|
||||||
|
} else if ($ratio[0] == 8 && $ratio[1] == 5) {
|
||||||
|
// common sense
|
||||||
|
$title = $title . " (16:10)";
|
||||||
|
} else {
|
||||||
|
$title = $title . " (" . $ratio[0] .":". $ratio[1] . ")";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $title;
|
||||||
|
}
|
||||||
|
?>
|
8
build.sh
8
build.sh
@ -36,6 +36,14 @@ build_dir () {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_1280×800" 1280 800
|
||||||
|
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_1440×900" 1440 900
|
||||||
|
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_1680×1050" 1680 1050
|
||||||
|
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_1920×1200" 1920 1200
|
||||||
|
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_2560x1600" 2560 1600
|
||||||
|
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_640×480" 640 480
|
||||||
|
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_720x480" 720 480
|
||||||
|
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_800x480" 800 480
|
||||||
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_2880p" 5120 2880
|
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_2880p" 5120 2880
|
||||||
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_4320p" 7680 4320
|
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_4320p" 7680 4320
|
||||||
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_5760p" 10240 5760
|
build_dir "Source/Bayonetta" "Enthusiast/Bayonetta_5760p" 10240 5760
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
<?php
|
|
||||||
function always_decimal_format($x) { return (intval($x) == $x ? number_format($x, 1, '.', '') : $x ); }
|
|
||||||
?>
|
|
Loading…
Reference in New Issue
Block a user