The solution incase anybody was wondering, was using Mendix' parsValue function, which returns a Big object. You just need to pass it a string representation of your int value:
big = mx.parser.parseValue(''+intValue)
big.toFixed()
or
big.round(numberOfDecimals)
You don't need to import Big.js explicitly for this workaround