UNPKG
@dinero.js/calculator-number
Version:
alpha (2.0.0-alpha.15)
latest (2.0.0-alpha.1)
2.0.0-alpha.15
2.0.0-alpha.14
2.0.0-alpha.13
2.0.0-alpha.12
2.0.0-alpha.11
2.0.0-alpha.10
2.0.0-alpha.9
2.0.0-alpha.8
2.0.0-alpha.7
2.0.0-alpha.6
2.0.0-alpha.5
2.0.0-alpha.4
2.0.0-alpha.3
2.0.0-alpha.2
2.0.0-alpha.1
Number calculator implementation for Dinero.js
dinerojs.com/calculator-number
dinerojs/dinero.js
@dinero.js/calculator-number
/
dist
/
esm
/
api
/
toNumber.d.ts
10 lines
(9 loc)
•
253 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
type
{
TransformOperation
}
from
'@dinero.js/core'
;
/** * Transforms an value to a number. * *
@param
input
- The value to transform. * *
@returns
The transformed value. */
export
declare
const
toNumber
:
TransformOperation
<
number
,
number
>;