You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
276 B
14 lines
276 B
5 months ago
|
var staticParseInt = require('./staticParseInt')
|
||
|
|
||
|
var helperCreateToNumber = require('./helperCreateToNumber')
|
||
|
|
||
|
/**
|
||
|
* 转整数
|
||
|
* @param { String/Number } str 数值
|
||
|
*
|
||
|
* @return {Number}
|
||
|
*/
|
||
|
var toInteger = helperCreateToNumber(staticParseInt)
|
||
|
|
||
|
module.exports = toInteger
|