Table of Contents

Class DoubleExtensions

Namespace
Artemis.Core
Assembly
Artemis.Core.dll

A static class providing double extensions

public static class DoubleExtensions
Inheritance
object
DoubleExtensions

Methods

RoundToInt(double)

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

public static int RoundToInt(this double number)

Parameters

number double

The number to round

Returns

int

The rounded number as an integer