From 9fe063022e08a4b6fa5f5935f8f185d5d95814a4 Mon Sep 17 00:00:00 2001 From: Sem Date: Wed, 25 Apr 2012 19:09:22 +0200 Subject: Upgraded to Elgg 1.8.4. --- engine/classes/XMLRPCDoubleParameter.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 engine/classes/XMLRPCDoubleParameter.php (limited to 'engine/classes/XMLRPCDoubleParameter.php') diff --git a/engine/classes/XMLRPCDoubleParameter.php b/engine/classes/XMLRPCDoubleParameter.php new file mode 100644 index 000000000..b7834650e --- /dev/null +++ b/engine/classes/XMLRPCDoubleParameter.php @@ -0,0 +1,29 @@ +value = (float)$value; + } + + /** + * Convert to string + * + * @return string + */ + function __toString() { + return "{$this->value}"; + } +} -- cgit v1.2.3