You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2021/07/14 17:27:07 UTC

[Bug 65450] New: Reminder is returned as float while using javascript function

https://bz.apache.org/bugzilla/show_bug.cgi?id=65450

            Bug ID: 65450
           Summary: Reminder is returned as float while using javascript
                    function
           Product: JMeter
           Version: 5.4.1
          Hardware: PC
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: mailvishnuu@gmail.com
  Target Milestone: JMETER_5.5

Finding reminder using the __javascript function returns a float when expected
an integer. This happens only when the reminder is 0
ex: _javascript(20%2) gives output as '0.0'

This was not there in the previous versions.
as a workaround we can use the toFixed(0) function.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65450] Reminder is returned as float while using javascript function

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65450

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
             Status|NEW                         |NEEDINFO

--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
Which version do you mean with "previous versions" exactly?

-- 
You are receiving this mail because:
You are the assignee for the bug.