MCPcopy Create free account
hub / github.com/BirolLab/RNA-Bloom / convertToRoundedPercent

Method convertToRoundedPercent

src/rnabloom/util/Common.java:31–33  ·  view source on GitHub ↗
(float f)

Source from the content-addressed store, hash-verified

29 */
30public class Common {
31 public static float convertToRoundedPercent(float f) {
32 return roundToSigFigs(f * 100, 3);
33 }
34
35 public static float roundToSigFigs(float f, int sigFigs) {
36 BigDecimal bd = new BigDecimal(f);

Callers 13

restoreGraphMethod · 0.80
populateGraphMethod · 0.80
populateGraph2Method · 0.80
mapClusteredOLCMethod · 0.80
minimizerBasedMethod · 0.80
kmerBasedMethod · 0.80
strobemerBasedMethod · 0.80

Calls 1

roundToSigFigsMethod · 0.95

Tested by

no test coverage detected