Number vs Number.parseFloat

Edit on GitHub

Setup

Tests

  • Number

    var value = Number('16.0');
  • Number.parseFloat

    var value = Number.parseFloat('16.0');