Skip to content

Math.trunc not supported by IE11

Vinay Rosenberg requested to merge github/fork/epiclabsDASH/fix_2732 into development

Created by: epiclabsDASH

Fix #2732 (closed). IE11 doesn't provide an implementation for Math.trunc so we can't use it without checking its existence. I am not creating the typical "MathUtils" class that exports a trunc method to avoid overcomplicating the solution. We will re-think that in case trunc is used in more places of the code.

Merge request reports