• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Dataport.AppFrameDotNet.DotNetTools.Collections
    • ExpressionHelper
    • NonRepeatableEnumerable<TType>
  • Dataport.AppFrameDotNet.DotNetTools.Collections.Extensions
    • Adding
    • Checking
    • Execution
    • ExpressionExtensions
    • Filtering
    • Indexing
    • Transformation
  • Dataport.AppFrameDotNet.DotNetTools.Collections.Model
    • PagedResult<TSource>
  • Dataport.AppFrameDotNet.DotNetTools.Comparison.Extensions
    • ComparisonExtensions
    • DictionaryExtensions
  • Dataport.AppFrameDotNet.DotNetTools.Comparison.Model
    • BoundaryType
    • IgnoreInPropertyComparisonAttribute
    • MemberComparisonResult
  • Dataport.AppFrameDotNet.DotNetTools.IO.Extensions
    • HttpStatusCodeExtensions
    • StreamExtensions
    • StringExtensions
  • Dataport.AppFrameDotNet.DotNetTools.Numeric.Extensions
    • Formatting
    • Percentage
    • Structure
  • Dataport.AppFrameDotNet.DotNetTools.Numeric.Model
    • PercentageType
  • Dataport.AppFrameDotNet.DotNetTools.Reflection
    • EnumHelper<TEnum>
  • Dataport.AppFrameDotNet.DotNetTools.Reflection.Extensions
    • AssemblyExtensions
    • EnumExtensions
    • InstanceExtensions
    • StringExtensions
    • TransformationExtensions
    • TypeExtensions
    • TypeManipulationExtensions
  • Dataport.AppFrameDotNet.DotNetTools.Text.Extensions
    • BooleanExtensions
    • StringExtensions
  • Dataport.AppFrameDotNet.DotNetTools.Time.Extensions
    • DateTimeExtensions
  • Dataport.AppFrameDotNet.DotNetTools.Time.Model
    • DateTimePart
  • Dataport.AppFrameDotNet.DotNetTools.Validation
    • ValidationResults
    • Verify
  • Dataport.AppFrameDotNet.DotNetTools.Validation.Extensions
    • ConditionExtensions
  • Dataport.AppFrameDotNet.DotNetTools.Validation.Models
    • Condition<T>
    • Severity

Class Structure

Stellt Methoden zur strukturellen Beschaffenheit von numerischen Werten zur Verfügung

Inheritance
System.Object
Structure
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dataport.AppFrameDotNet.DotNetTools.Numeric.Extensions
Assembly: Dataport.AppFrameDotNet.DotNetTools.dll
Syntax
public static class Structure

Methods

CountDigits(Decimal)

Zählt die Anzahl der Ziffern innerhalb der Zahl, die vor dem Komma stehen.

Declaration
public static int CountDigits(this decimal i)
Parameters
Type Name Description
System.Decimal i

Die zu prüfende Zahl.

Returns
Type Description
System.Int32

Die Anzahl der Ziffern.

CountDigits(Double)

Zählt die Anzahl der Ziffern innerhalb der Zahl, die vor dem Komma stehen.

Declaration
public static int CountDigits(this double i)
Parameters
Type Name Description
System.Double i

Die zu prüfende Zahl.

Returns
Type Description
System.Int32

Die Anzahl der Ziffern.

CountDigits(Int16)

Zählt die Anzahl der Ziffern innerhalb der Zahl.

Declaration
public static int CountDigits(this short i)
Parameters
Type Name Description
System.Int16 i

Die zu prüfende Zahl.

Returns
Type Description
System.Int32

Die Anzahl der Ziffern.

CountDigits(Int32)

Zählt die Anzahl der Ziffern innerhalb der Zahl.

Declaration
public static int CountDigits(this int i)
Parameters
Type Name Description
System.Int32 i

Die zu prüfende Zahl.

Returns
Type Description
System.Int32

Die Anzahl der Ziffern.

CountDigits(Int64)

Zählt die Anzahl der Ziffern innerhalb der Zahl.

Declaration
public static int CountDigits(this long i)
Parameters
Type Name Description
System.Int64 i

Die zu prüfende Zahl.

Returns
Type Description
System.Int32

Die Anzahl der Ziffern.

CountDigits(Single)

Zählt die Anzahl der Ziffern innerhalb der Zahl, die vor dem Komma stehen.

Declaration
public static int CountDigits(this float i)
Parameters
Type Name Description
System.Single i

Die zu prüfende Zahl.

Returns
Type Description
System.Int32

Die Anzahl der Ziffern.

CountDigitsDecimal(Decimal)

Zählt die Anzahl der Dezimalstellen innerhalb der Zahl.

Declaration
public static int CountDigitsDecimal(this decimal i)
Parameters
Type Name Description
System.Decimal i

Die zu prüfende Zahl.

Returns
Type Description
System.Int32

Die Anzahl der Ziffern.

CountDigitsDecimal(Double)

Zählt die Anzahl der Dezimalstellen innerhalb der Zahl.

Declaration
public static int CountDigitsDecimal(this double i)
Parameters
Type Name Description
System.Double i

Die zu prüfende Zahl.

Returns
Type Description
System.Int32

Die Anzahl der Ziffern.

CountDigitsDecimal(Single)

Zählt die Anzahl der Dezimalstellen innerhalb der Zahl.

Declaration
public static int CountDigitsDecimal(this float i)
Parameters
Type Name Description
System.Single i

Die zu prüfende Zahl.

Returns
Type Description
System.Int32

Die Anzahl der Ziffern.

In This Article
Back to top © 2020 Dataport AöR