NAME

Protocol::XMLRPC::Value::Double - XML-RPC array

SYNOPSIS

my $double = Protocol::XMLRPC::Value::Double->new(1.12);

DESCRIPTION

XML-RPC double

METHODS

new

Creates new Protocol::XMLRPC::Value::Double instance.

type

Returns 'double'.

value

my $double = Protocol::XMLRPC::Value::Double->new(1.2);
# $double->value returns 1.2

Returns serialized Perl5 scalar.

to_string

my $double = Protocol::XMLRPC::Value::Double->new(1.2);
# $double->to_string is now '<double>1.2</double>'

XML-RPC double string representation.