Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

percent

Formats percents into a human-friendly string.

Usage

import { Beaut } from "@0xhq/beaut";
 
const formatted = Beaut.percent(0.1234); 
 
Output: "12.34%"

Types

Parameters

import { PercentParameters } from "@0xhq/beaut";

Return Type

import { PercentReturnType } from "@0xhq/beaut";