UNPKG

xe-utils

Version:

JavaScript 函数库、工具类

6 lines (4 loc) 187 B
function helperNumberOffsetPoint (str, offsetIndex) { return str.substring(0, offsetIndex) + '.' + str.substring(offsetIndex, str.length) } export default helperNumberOffsetPoint