Umi — API References - v1.3.0
Preparing search index...
umi
percentAmount
Function percentAmount
percentAmount
<
D
extends
number
>
(
percent
:
number
,
decimals
?:
D
)
:
Amount
<
"%"
,
D
>
Creates a percentage amount from the provided decimal value.
Type Parameters
D
extends
number
Parameters
percent
:
number
decimals
:
D
= ...
Returns
Amount
<
"%"
,
D
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Umi — API References - v1.3.0
Loading...
Creates a percentage amount from the provided decimal value.