const reverseNumber = (n: number) => 
        parseFloat(`${n}`.split('').reverse().join('')) * Math.sign(n);
      
      Typescript language logo

      Reverse number

      Codiga's TypeScript Recipes

      Reverses a number.

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.