Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

A modern runtime for JavaScript and TypeScript.
Go to Latest
function parseFloat
import { parseFloat } from "https://deno.land/x/deno@v1.40.5/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