Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ncphp
/
mcClasses
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6e4364e6
authored
May 29, 2014
by
sn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mcUnityCalculator napassungen
1 parent
d58c99e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
class_mcUnityCalculator.inc.php
class_mcUnityCalculator.inc.php
View file @
6e4364e
...
...
@@ -21,9 +21,10 @@ class mcUnityCalculator {
* @param string $param_out_unit
* @return number
*/
public
static
function
to
(
$param_in_number
,
$param_in_unit
,
$param_out_unit
){
$inchNumber
=
mcUnityCalculator
::
toInch
(
$param_in_number
,
$param_in_unit
);
$outNumber
=
mcUnityCalculator
::
inchTo
(
$inchNumber
,
$param_out_unit
);
public
static
function
to
(
$param_in_number
,
$param_in_unit
,
$param_out_unit
,
$param_dpi
=
300
){
D
::
li
(
"to(
$param_in_number
,
$param_in_unit
,
$param_out_unit
,
$param_dpi
=300){"
);
$inchNumber
=
mcUnityCalculator
::
toInch
(
$param_in_number
,
$param_in_unit
,
$param_dpi
);
$outNumber
=
mcUnityCalculator
::
inchTo
(
$inchNumber
,
$param_out_unit
,
$param_dpi
);
return
$outNumber
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment