Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / CfValue Structure / FromPercent Method / FromPercent(Double) Method
A double value indicates the percentage value. Value range is between 0..100.


In This Topic
FromPercent(Double) Method
In This Topic
Create a percentage conditional formatting value.
Syntax
'Declaration
 
Public Overloads Shared Function FromPercent( _
   ByVal value As Double _
) As CfValue
 
'Usage
 
Dim value As Double
Dim value As CfValue
 
value = CfValue.FromPercent(value)

Parameters

value
A double value indicates the percentage value. Value range is between 0..100.

Return Value

A CfValue value represents the percentage conditional formatting value.
See Also