public class MMath extends Object
MMath class.
| Constructor and Description |
|---|
MMath() |
| Modifier and Type | Method and Description |
|---|---|
static String |
toBasis36(long value,
int digits)
Pack the number in a base 36 numerical system.
|
static String |
toBasis36WithIdent(long value,
long ident,
int digits)
Pack the number in a base 36 numerical system.
|
public static String toBasis36(long value, int digits)
value - The value to convertdigits - number of minimum digits (expect the minus character if the value is negative)String object.public static String toBasis36WithIdent(long value, long ident, int digits)
value - The value to convertident - additional ident at the right side, has 4 digitsdigits - number of minimum digits (expect the minus character if the value is negative)String object.Copyright © 2016. All Rights Reserved.