ULongExtensionsFractionBy Method
Takes a fraction of the source value that corresponds to the given percent value.
Namespace: DevCase.Extensions.ULongExtensionsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static double FractionBy(
this ulong sender,
double percentage
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function FractionBy (
sender As ULong,
percentage As Double
) As Double
Dim sender As ULong
Dim percentage As Double
Dim returnValue As Double
returnValue = sender.FractionBy(percentage)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static double FractionBy(
unsigned long long sender,
double percentage
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member FractionBy :
sender : uint64 *
percentage : float -> float
No code example is currently available or this language may not be supported.
- sender UInt64
-
The source value.
- percentage Double
-
The percentage to fractionize by.
Double
The fraction value.
In Visual Basic and C#, you can call this method as an instance method on any object of type
UInt64. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
This is a code example.
No code example is currently available or this language may not be supported.
Dim value As ULong = CULng(10UL.FractionBy(50UL))
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.