Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: decimal OrDefaultTo(decimal)

  • Declared in: RT.KitchenSink.Collections.RVariant

Declaration

public decimal OrDefaultTo(
    decimal defaultValue
)

Summary

Treating this node as a Value, returns the value converted to a decimal or the default value specified by defaultValue if the conversion is not possible. Also returns the default value if this node is not of a Value type.