UNPKG

di-shan-utils

Version:

JavaScript 函数库、工具类

6 lines (4 loc) 184 B
function helperNumberOffsetPoint (str, offsetIndex) { return str.substring(0, offsetIndex) + '.' + str.substring(offsetIndex, str.length) } module.exports = helperNumberOffsetPoint