public function EasyRdf_Literal_Decimal::getValue

Return the value of the literal cast to a PHP double

Return value

double

Overrides EasyRdf_Literal::getValue

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/Decimal.php, line 65

Class

EasyRdf_Literal_Decimal
Class that represents an RDF Literal of datatype xsd:decimal

Code

public function getValue() {
  return (double) $this->value;
}