MCPcopy Create free account
hub / github.com/SquirrelJME/SquirrelJME / numberAsString

Method numberAsString

utils-dev/ReorderErrors.java:377–383  ·  view source on GitHub ↗

Returns the number as a string. @return The numnber as a string. @since 2017/10/27

()

Source from the content-addressed store, hash-verified

375 * @since 2017/10/27
376 */
377 public String numberAsString()
378 {
379 String base = Integer.toString(number, 36).toLowerCase();
380 if (base.length() == 1)
381 return "0" + base;
382 return base;
383 }
384
385 /**
386 * {@inheritDoc}

Callers 1

toStringMethod · 0.95

Calls 3

toStringMethod · 0.95
lengthMethod · 0.95
toLowerCaseMethod · 0.65

Tested by

no test coverage detected