UNPKG

aureooms-js-integer

Version:

integer code bricks for JavaScript

10 lines (5 loc) 194 B
import { parse_keep_zeros , trim_natural } from '.' ; export function parse ( f , t , string ) { const b = parse_keep_zeros( f , t , string ) ; return trim_natural( b , 0 , b.length ) ; }