Number to Number extensions
public static class NumberToNumberExtensionsInheritance System.Object → NumberToNumberExtensions
Multiplies a double by 1,000,000,000 (one billion in short scale), providing a more readable way to express billions in code.
public static double Billions(this double input);input System.Double
The double value to multiply by 1,000,000,000.
System.Double
The input value multiplied by 1,000,000,000.
1.0.Billions() => 1000000000.0Uses the short scale definition where 1 billion = 1,000,000,000 (10^9).
Multiplies an integer by 1,000,000,000 (one billion in short scale), providing a more readable way to express billions in code.
public static int Billions(this int input);input System.Int32
The integer value to multiply by 1,000,000,000.
System.Int32
The input value multiplied by 1,000,000,000.
1.Billions() => 1000000000
2.Billions() => 2000000000Uses the short scale definition where 1 billion = 1,000,000,000 (10^9).
Multiplies a long integer by 1,000,000,000 (one billion in short scale), providing a more readable way to express billions in code.
public static long Billions(this long input);input System.Int64
The long integer value to multiply by 1,000,000,000.
System.Int64
The input value multiplied by 1,000,000,000.
1L.Billions() => 1000000000LUses the short scale definition where 1 billion = 1,000,000,000 (10^9).
Multiplies an unsigned integer by 1,000,000,000 (one billion in short scale), providing a more readable way to express billions in code.
public static uint Billions(this uint input);input System.UInt32
The unsigned integer value to multiply by 1,000,000,000.
System.UInt32
The input value multiplied by 1,000,000,000.
1U.Billions() => 1000000000UUses the short scale definition where 1 billion = 1,000,000,000 (10^9).
Multiplies an unsigned long integer by 1,000,000,000 (one billion in short scale), providing a more readable way to express billions in code.
public static ulong Billions(this ulong input);input System.UInt64
The unsigned long integer value to multiply by 1,000,000,000.
System.UInt64
The input value multiplied by 1,000,000,000.
1UL.Billions() => 1000000000ULUses the short scale definition where 1 billion = 1,000,000,000 (10^9).
Multiplies a double by 100, providing a more readable way to express hundreds in code.
public static double Hundreds(this double input);input System.Double
The double value to multiply by 100.
System.Double
The input value multiplied by 100.
4.0.Hundreds() => 400.0Multiplies an integer by 100, providing a more readable way to express hundreds in code.
public static int Hundreds(this int input);input System.Int32
The integer value to multiply by 100.
System.Int32
The input value multiplied by 100.
4.Hundreds() => 400
2.Hundreds() => 200Multiplies a long integer by 100, providing a more readable way to express hundreds in code.
public static long Hundreds(this long input);input System.Int64
The long integer value to multiply by 100.
System.Int64
The input value multiplied by 100.
4L.Hundreds() => 400LMultiplies an unsigned integer by 100, providing a more readable way to express hundreds in code.
public static uint Hundreds(this uint input);input System.UInt32
The unsigned integer value to multiply by 100.
System.UInt32
The input value multiplied by 100.
4U.Hundreds() => 400UMultiplies an unsigned long integer by 100, providing a more readable way to express hundreds in code.
public static ulong Hundreds(this ulong input);input System.UInt64
The unsigned long integer value to multiply by 100.
System.UInt64
The input value multiplied by 100.
4UL.Hundreds() => 400ULMultiplies a double by 1,000,000, providing a more readable way to express millions in code.
public static double Millions(this double input);input System.Double
The double value to multiply by 1,000,000.
System.Double
The input value multiplied by 1,000,000.
2.0.Millions() => 2000000.0Multiplies an integer by 1,000,000, providing a more readable way to express millions in code.
public static int Millions(this int input);input System.Int32
The integer value to multiply by 1,000,000.
System.Int32
The input value multiplied by 1,000,000.
2.Millions() => 2000000
5.Millions() => 5000000Multiplies a long integer by 1,000,000, providing a more readable way to express millions in code.
public static long Millions(this long input);input System.Int64
The long integer value to multiply by 1,000,000.
System.Int64
The input value multiplied by 1,000,000.
2L.Millions() => 2000000LMultiplies an unsigned integer by 1,000,000, providing a more readable way to express millions in code.
public static uint Millions(this uint input);input System.UInt32
The unsigned integer value to multiply by 1,000,000.
System.UInt32
The input value multiplied by 1,000,000.
2U.Millions() => 2000000UMultiplies an unsigned long integer by 1,000,000, providing a more readable way to express millions in code.
public static ulong Millions(this ulong input);input System.UInt64
The unsigned long integer value to multiply by 1,000,000.
System.UInt64
The input value multiplied by 1,000,000.
2UL.Millions() => 2000000ULMultiplies a double by 10, providing a more readable way to express multiples of ten in code.
public static double Tens(this double input);input System.Double
The double value to multiply by 10.
System.Double
The input value multiplied by 10.
5.5.Tens() => 55.0Multiplies an integer by 10, providing a more readable way to express multiples of ten in code.
public static int Tens(this int input);input System.Int32
The integer value to multiply by 10.
System.Int32
The input value multiplied by 10.
5.Tens() => 50
3.Tens() => 30
10.Tens() => 100Multiplies a long integer by 10, providing a more readable way to express multiples of ten in code.
public static long Tens(this long input);input System.Int64
The long integer value to multiply by 10.
System.Int64
The input value multiplied by 10.
5L.Tens() => 50LMultiplies an unsigned integer by 10, providing a more readable way to express multiples of ten in code.
public static uint Tens(this uint input);input System.UInt32
The unsigned integer value to multiply by 10.
System.UInt32
The input value multiplied by 10.
5U.Tens() => 50UMultiplies an unsigned long integer by 10, providing a more readable way to express multiples of ten in code.
public static ulong Tens(this ulong input);input System.UInt64
The unsigned long integer value to multiply by 10.
System.UInt64
The input value multiplied by 10.
5UL.Tens() => 50ULMultiplies a double by 1000, providing a more readable way to express thousands in code.
public static double Thousands(this double input);input System.Double
The double value to multiply by 1000.
System.Double
The input value multiplied by 1000.
3.0.Thousands() => 3000.0Multiplies an integer by 1000, providing a more readable way to express thousands in code.
public static int Thousands(this int input);input System.Int32
The integer value to multiply by 1000.
System.Int32
The input value multiplied by 1000.
3.Thousands() => 3000
10.Thousands() => 10000Multiplies a long integer by 1000, providing a more readable way to express thousands in code.
public static long Thousands(this long input);input System.Int64
The long integer value to multiply by 1000.
System.Int64
The input value multiplied by 1000.
3L.Thousands() => 3000LMultiplies an unsigned integer by 1000, providing a more readable way to express thousands in code.
public static uint Thousands(this uint input);input System.UInt32
The unsigned integer value to multiply by 1000.
System.UInt32
The input value multiplied by 1000.
3U.Thousands() => 3000UMultiplies an unsigned long integer by 1000, providing a more readable way to express thousands in code.
public static ulong Thousands(this ulong input);input System.UInt64
The unsigned long integer value to multiply by 1000.
System.UInt64
The input value multiplied by 1000.
3UL.Thousands() => 3000UL