Table of Contents

Class MathUtility

Namespace
Songhay
Assembly
SonghayCore.dll

Static helpers for Math.

public static class MathUtility
Inheritance
MathUtility
Inherited Members

Methods

GetDigitInNumber(int, int)

Gets the digit in number.

public static byte? GetDigitInNumber(int x, int place)

Parameters

x int

The x.

place int

The place (from right to left).

Returns

byte?

GetMantissa(double, int)

Gets the mantissa.

public static double GetMantissa(double x, int round)

Parameters

x double

The x.

round int

The round.

Returns

double

TruncateNumber(double)

Truncates the number.

public static double TruncateNumber(double x)

Parameters

x double

The x.

Returns

double

Remarks

Silverlight does not have Math.Truncate().