Search Results for

    Show / Hide Table of Contents

    Class Mathematics

    Simple Min/Max for the wpf measures.

    Inheritance
    object
    Mathematics
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: nanoFramework.UI
    Assembly: nanoFramework.Graphics.dll
    Syntax
    public static class Mathematics

    Methods

    Abs(int)

    Returns the absolute value of an int.

    Declaration
    public static int Abs(int a)
    Parameters
    Type Name Description
    int a

    The int.

    Returns
    Type Description
    int

    The absolute value.

    Max(int, int)

    Finds the maximum between 2 ints.

    Declaration
    public static int Max(int a, int b)
    Parameters
    Type Name Description
    int a

    First int.

    int b

    Second int.

    Returns
    Type Description
    int

    The maximum value between a and b.

    Min(int, int)

    Finds the minimum between 2 ints.

    Declaration
    public static int Min(int a, int b)
    Parameters
    Type Name Description
    int a

    First int.

    int b

    Second int.

    Returns
    Type Description
    int

    The minimum value between a and b.

    In this article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX