On second thought, this is probably wrong.

Number(xml) is probably enough as Number should call toString() and deal with 
all number types correctly.

On Aug 5, 2016, at 5:42 PM, Harbs <harbs.li...@gmail.com> wrote:

> If it knows it’s being assigned to a Number, I think it should call 
> valueOf(), or possibly(Number(xml.valueOf())

Reply via email to