Click or drag to resize

RoundToNearestOperation Class

Rounds the data value to the nearest multiple integer value.

Input: Number

Output: Integer

Inheritance Hierarchy
SystemObject
  UnityEngineObject
    UnityEngineComponent
      UnityEngineBehaviour
        UnityEngineMonoBehaviour
          Slash.Unity.DataBind.Core.PresentationDataBindingOperator
            Slash.Unity.DataBind.Core.PresentationDataProvider
              Slash.Unity.DataBind.Foundation.Providers.OperationsRoundToNearestOperation

Namespace:  Slash.Unity.DataBind.Foundation.Providers.Operations
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class RoundToNearestOperation : DataProvider

The RoundToNearestOperation type exposes the following members.

Constructors
  NameDescription
Public methodRoundToNearestOperation
Initializes a new instance of the RoundToNearestOperation class
Top
Properties
Methods
Fields
  NameDescription
Public fieldArgument
Data value to round.
Public fieldToNearest
Multiple to round to, default: 1.
Top
See Also