Esempio n. 1
0
 public function doubleValue()
 {
     return Double::asNative($this->value);
 }
 public function setDouble($identifier, $value)
 {
     $this->set($identifier, \blaze\lang\Double::asNative($value), \PDO::PARAM_STR);
     return $this;
 }
Esempio n. 3
0
 public function getDouble($identifier)
 {
     $this->checkClosed();
     $val = $this->get($identifier);
     if ($val == null) {
         return null;
     }
     return Double::asNative($val);
 }
Esempio n. 4
0
 public function doubleValue()
 {
     \blaze\lang\Double::asNative($this->value);
 }
 public function writeDouble(\double $double)
 {
     $double = \blaze\lang\Double::asNative($double);
     return $this->out->write(serialize($double));
 }