Lines Matching refs:parseFloat
51 assertEquals(0.1, parseFloat('0.1'));
52 assertEquals(0.1, parseFloat('0.1aaa'));
53 assertEquals(0, parseFloat('0aaa'));
54 assertEquals(0, parseFloat('0x12'));
55 assertEquals(77, parseFloat('077'));
99 assertTrue(isNaN(parseFloat(0/0)));
100 assertEquals(Infinity, parseFloat(1/0), "parseFloat Infinity");
101 assertEquals(-Infinity, parseFloat(-1/0), "parseFloat -Infinity");
121 assertTrue("parseFloat" in Number);
123 assertSame(Number.parseFloat, parseFloat);
124 assertEquals(Number.parseFloat('0.1'), parseFloat('0.1'));