RDF.ex v0.6.2 RDF.Decimal View Source

RDF.Datatype for XSD decimal.

Link to this section Summary

Link to this section Functions

Link to this function

build_literal(value, lexical, opts)

View Source
Link to this function

build_literal_by_lexical(lexical, opts)

View Source
Link to this function

build_literal_by_value(value, opts)

View Source
Link to this function

canonical_decimal(decimal)

View Source

The number of digits in the XML Schema canonical form of the literal value.

Link to this function

fraction_digit_count(literal)

View Source

The number of digits to the right of the decimal point in the XML Schema canonical form of the literal value.

Link to this function

greater_than?(literal1, literal2)

View Source
Link to this function

less_than?(literal1, literal2)

View Source
Link to this function

new!(value, opts \\ %{})

View Source