Functionality of the script was to source the value in the discount field from a custom record, value in discount field was sourced correctly in Microsoft edge but Different result was shown in google chrome
Expected result in discount -10%
Google chrome
Edge

Resolved the issue by increasing the time out in the script when setting the Discount value.
