asNumberValue

Casts this AttributeValue as a NumberValue and retrieves its kotlin.Double value. Throws an exception if the AttributeValue is not a NumberValue.