Detecting the OS version of iOS and Android in the browser

Tagged with: , ,
  • GG

    share a way used to return a float, but only two decimal places. 😉

    return parseFloat(ua.substring(uaindex+mobileOS.length+1));