Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.es5.d.ts>parseFloat

A modern runtime for JavaScript and TypeScript.
Latest
function parseFloat
import { parseFloat } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.es5.d.ts";

Converts a string to a floating-point number.

Parameters

string: string

A string that contains a floating-point number.

Returns

number