Home
The nMore type exposes the following methods.
Methods
| Member | Description | |
|---|---|---|
| autoFormatSize(Single, Boolean) |
auto formats the supplied sizeInKilobytes (must be supplied as a float)
| |
| autoFormatSize(String, Boolean) |
auto formats the supplied sizeInKilobytes (must be supplied as string)
| |
| byteToSize(Single, sizeType) |
returns the byte to the size you prefer
| |
| dateTimeToUnix(DateTime) |
converts a DateTime from DateTime to a double representation of its UnixTimeStamp counterpart
| |
| getSpan(TimeSpan) |
takes a TimeSpan arg and returns a formatted string:
x day/days xx hour/hours xxx minute/minutes xxxx second/seconds
| |
| KBToBytes(String) |
converts KB to bytes
| |
| smallSpaces(String) |
trims excess spaces, leaving no more than one adjacent space
| |
| stringDateTimeToUnix(String) |
converts a DateTime from string to a double representation of its UnixTimeStamp counterpart
|