Commit d1f514b5 authored by Alex Ne's avatar Alex Ne

Добавление float в обработчик входящих параметров

parent c16494a4
......@@ -55,6 +55,11 @@ class X_Input
return (is_numeric($this->Value)) ? $this->Value : 0;
}
public function float()
{
return floatval($this->Value);
}
public function string()
{
return strval($this->Value);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment