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

Method getValueToken

code/src/java/pcgen/io/exporttoken/TotalToken.java:123–126  ·  view source on GitHub ↗

Get the VALUE sub token @param pc @return the VALUE sub token

(PlayerCharacter pc)

Source from the content-addressed store, hash-verified

121 * @return the VALUE sub token
122 */
123 public static String getValueToken(PlayerCharacter pc)
124 {
125 return BigDecimalHelper.trimZeros(pc.totalValue()) + ' ' + SettingsHandler.getGameAsProperty().get().getCurrencyDisplay();
126 }
127
128 /**
129 * Get the WEIGHT sub token

Callers 1

getTokenMethod · 0.95

Calls 5

trimZerosMethod · 0.95
getGameAsPropertyMethod · 0.95
totalValueMethod · 0.80
getCurrencyDisplayMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected