NumberExtensions Class

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Helper class for formatting numbers.

public static class NumberExtensions
Inheritance:
System.Object → NumberExtensions

Methods

Format(int) Format a number to max 3 significant numbers and a suffix (K or M)
Format(long) Format a number to max 3 significant numbers and a suffix (K or M)
Format(int?) Format a number to max 3 significant numbers and a suffix (K or M)
Format(long?) Format a number to max 3 significant numbers and a suffix (K or M)