Detecting the OS version of iOS and Android in the browser

Posted in internet, mobile development Tagged with: , ,
  • GG

    share a way used to return a float, but only two decimal places. đŸ˜‰

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