Class NumericalFormatter

java.lang.Object
net.thucydides.core.model.NumericalFormatter

public class NumericalFormatter
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    NumericalFormatter()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String percentage​(java.lang.Double value, int precision)  
    java.lang.String rounded​(java.lang.Double value, int precision)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NumericalFormatter

      public NumericalFormatter()
  • Method Details

    • rounded

      public java.lang.String rounded​(java.lang.Double value, int precision)
    • percentage

      public java.lang.String percentage​(java.lang.Double value, int precision)