title: Need resutls upto two decimal i.e seconds and miliseconds in jmeter
body: <p>I want to add my summary report results in the email body. So I have added the bean shell post-processor against my request and add the below functions in it.</p>
  <pre><code>*&lt;BeanShellPostProcessor guiclass=&quot;TestBeanGUI&quot; testclass=&quot;BeanShellPostProcessor&quot; testname=&quot;BeanShell PostProcessor&quot; enabled=&quot;true&quot;&gt;
              &lt;boolProp name=&quot;resetInterpreter&quot;&gt;false&lt;/boolProp&gt;
              &lt;stringProp name=&quot;parameters&quot;&gt;&lt;/stringProp&gt;
              &lt;stringProp name=&quot;filename&quot;&gt;&lt;/stringProp&gt;
              &lt;stringProp name=&quot;script&quot;&gt;float duration = prev.getTime()/1000;
                   
  props.put(&amp;quot;getDTS_response&amp;quot;, String.valueOf(duration));&lt;/stringProp&gt;
            &lt;/BeanShellPostProcessor&gt;*
  </code></pre>
  <p>Funtion used in mail body:</p>
  <pre><code>*&amp;quot;Request 1 Reponse    ${__property(getDTS_response,0)} Seconds&amp;quot;*
  </code></pre>
  <p>Now when I receive the results in the mail body, those are displayed as below.</p>
  <p>Summary Report Result against request # 1:  8563</p>
  <p>Result against request 1 in mail body: 8.0 seconds</p>
  <p>Summary Report Result against request # 2:  354</p>
  <p>Result against request 1 in mail body: 0.0 seconds</p>
  <p>I want my results as below:</p>
  <p>Result against request 1 in mail body: 8.563 seconds</p>
  <p>Result against request 2 in mail body: 0.354 seconds</p>
  <p>Please guide in resolving the issue.</p>
  <p>Thanks and Regards</p>