how to round down number in typescript to nearest whole integer code example Example: javascript round down Math.floor(x);