C# Class BF2Statistics.IntExtensions

Show file Open project: BF2Statistics/ControlCenter

Public Methods

Method Description
InRange ( this input, int LowValue, int HighValue ) : bool

Returns whether this Int32 value is within the range of the specified values

ToFileSize ( this l ) : string

Converts this int value to a file size

Method Details

InRange() public static method

Returns whether this Int32 value is within the range of the specified values
public static InRange ( this input, int LowValue, int HighValue ) : bool
input this
LowValue int The low end of the scale
HighValue int The high end of the scale
return bool

ToFileSize() public static method

Converts this int value to a file size
public static ToFileSize ( this l ) : string
l this
return string