Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinCalculator Class / SetValue Method / SetValue(Decimal,Int32) Method
The significant portion of the value to add.
The exponent portion of the value to add.


In This Topic
    SetValue(Decimal,Int32) Method
    In This Topic
    Assigns the significant and exponent value of a number to the WinCalculator's formula box.
    Syntax
    'Declaration
     
    Public Overloads Sub SetValue( _
       ByVal significant As Decimal, _
       ByVal exponent As Integer _
    ) 
    'Usage
     
    Dim instance As WinCalculator
    Dim significant As Decimal
    Dim exponent As Integer
     
    instance.SetValue(significant, exponent)
    public void SetValue( 
       decimal significant,
       int exponent
    )

    Parameters

    significant
    The significant portion of the value to add.
    exponent
    The exponent portion of the value to add.
    Remarks

    Any and all values or mathematical equations currently in the formula box will be replaced by the new value.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also