UNPKG
aureooms-js-integer
Version:
latest (1.0.0)
1.0.0
0.3.2
0.3.1
0.3.0
integer code bricks for JavaScript
aureooms.github.io/js-integer
aureooms/js-integer
aureooms-js-integer
/
src
/
1-new
/
convert
/
convert.js
10 lines
(5 loc)
•
210 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{ convert_keep_zeros , trim_natural }
from
'.'
;
export
function
convert
(
f , t , a , ai , aj
) {
const
b =
convert_keep_zeros
( f , t , a , ai , aj ) ;
return
trim_natural
( b ,
0
, b.
length
) ; }