Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/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.0/cli/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