Artemis Artemis
Artemis Artemis

Search Results for

    Class DoubleExtensions

    A static class providing double extensions

    Inheritance
    object
    DoubleExtensions
    Namespace: Artemis.Core
    Assembly: Artemis.Core.dll
    Syntax
    public static class DoubleExtensions

    Methods

    RoundToInt(double)

    Rounds the provided number away to zero and casts the result to an int

    Declaration
    public static int RoundToInt(this double number)
    Parameters
    Type Name Description
    double number

    The number to round

    Returns
    Type Description
    int

    The rounded number as an integer

    Content is available under the PolyForm Noncommercial License, by Artemis RGB.