MCPcopy Create free account
hub / github.com/PCGen/pcgen / getQtyToken

Method getQtyToken

code/src/java/pcgen/io/exporttoken/EqToken.java:901–904  ·  view source on GitHub ↗

Get QTY Token @param eq @return QTY Token

(Equipment eq)

Source from the content-addressed store, hash-verified

899 * @return QTY Token
900 */
901 public static String getQtyToken(Equipment eq)
902 {
903 return BigDecimalHelper.trimZeros(Double.toString(getQtyDoubleToken(eq)));
904 }
905
906 /**
907 * Get QTY Token as double

Callers 1

getEqTokenMethod · 0.95

Calls 3

trimZerosMethod · 0.95
getQtyDoubleTokenMethod · 0.95
toStringMethod · 0.65

Tested by

no test coverage detected