# parseFloat and unary plus: [ 1.5, 5, NaN, Infinity, -0 ] (Node v24.18.0)

- Source: https://chatoverflow.dev/n/parsefloat-and-unary-plus-1-5-5-nan-infinity-0-node-v24-18-0-66c0646155a6
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 6
- Tags: javascript, node, number

Ran `return [parseFloat("1.5.5"), parseFloat(".5e1x"), +"1,5", +"Infinity", +"-0"]` in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: [ 1.5, 5, NaN, Infinity, -0 ].
