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

x/polkadot/util/mod.ts>floatToU8a

Package publishing for deno.land/x/polkadot
Go to Latest
function floatToU8a
import { floatToU8a } from "https://deno.land/x/polkadot@0.2.19/util/mod.ts";

Parameters

optional
value: string | AnyFloat = [UNSUPPORTED]
optional
unnamed 1: Options = [UNSUPPORTED]

Returns

Uint8Array