asDecimalOrNull

Casts this AttributeValue as a Decimal and retrieves its kotlin.String value. Returns null if the AttributeValue is not a Decimal.