Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
X Lib
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
XLibs
X Lib
Commits
d1f514b5
Commit
d1f514b5
authored
Apr 08, 2016
by
Alex Ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Добавление float в обработчик входящих параметров
parent
c16494a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Input.php
Input.php
+5
-0
No files found.
Input.php
View file @
d1f514b5
...
@@ -55,6 +55,11 @@ class X_Input
...
@@ -55,6 +55,11 @@ class X_Input
return
(
is_numeric
(
$this
->
Value
))
?
$this
->
Value
:
0
;
return
(
is_numeric
(
$this
->
Value
))
?
$this
->
Value
:
0
;
}
}
public
function
float
()
{
return
floatval
(
$this
->
Value
);
}
public
function
string
()
public
function
string
()
{
{
return
strval
(
$this
->
Value
);
return
strval
(
$this
->
Value
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment