🍬
Gummi
  • Welcome to Gummi
  • Installation
  • Repo
  • API Documentation
    • Core
      • Attributes
        • DisableIf(string Target)
        • DisableIf(string Target, object Benchmark)
        • EnableIf(string Target)
        • EnableIf(string Target, object Benchmark)
        • HideIf(string Target)
        • HideIf(string Target, object Benchmark)
        • ShowIfstring Target)
        • ShowIf(string Target, object Benchmark)
        • SOExposed
        • VisibleBaseAttribute
        • ReadOnly
      • Extensions
        • GenericExtensions
        • IntExtensions
        • ListExtensions
    • MVC
      • RootController
      • SubController
      • SubController<enum, uiView>
      • UIView
    • Singletons
      • Singleton
      • Persistent Singleton
      • Lazy Singleton
      • Persistent Lazy Singleton
    • Utility
      • MDDocumentation
      • Optional
Powered by GitBook
On this page
  • Summary
  • Methods
  1. API Documentation
  2. Core
  3. Extensions

IntExtensions

PreviousGenericExtensionsNextListExtensions

Last updated 3 years ago

namespace:

Summary

Extension methods for the int type. Below is an example of how to call an extension method.

int val = 1;
int numberOfDigits = val.CountDigits()

Methods

public static int CountDigits(this int val): Counts the number of digits a base 10 integer has.

Gummi