Navigation

    SOFTWARE TESTING

    • Register
    • Login
    • Search
    • Job Openings
    • Freelance Jobs
    • Companies
    • Conferences
    • Courses
    1. Home
    2. Luis Guillermo Bultet Ibles
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by Luis Guillermo Bultet Ibles

    • RE: Function in JavaScript equivalent to Frac do Delphi

      I have fixed this two methods on my repository backup, please consider conver them to function's.

                      trunc(x) {
                          return x > 0 ? Math.floor(x) : Math.ceil(x);
                      }
      
                      fracc(x) {
                          return x > 0 ? x - Math.floor(x) : x - Math.ceil(x);
                      }
      posted in Software Programming
      Luis Guillermo Bultet Ibles
      Luis Guillermo Bultet Ibles
    • 1 / 1