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.
Go to Latest
function parseFloat
import { parseFloat } from "https://deno.land/x/deno@v1.28.3/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