blob: c2e346b375efc4e98eb8b813f1a88ac400d89414 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
/**
* @class XMLRPCDoubleParameter A double precision signed floating point number.
*/
class XMLRPCDoubleParameter extends XMLRPCParameter
{
function __construct($value)
{
parent::__construct();
$this->value = (float)$value;
}
function __toString()
{
return "<value><double>{$this->value}</double></value>";
}
}
|