UNPKG

xe-utils

Version:

JavaScript 函数库、工具类

8 lines (5 loc) • 281 B
var helperStringSubstring = require('./helperStringSubstring') function helperNumberOffsetPoint (str, offsetIndex) { return helperStringSubstring(str, 0, offsetIndex) + '.' + helperStringSubstring(str, offsetIndex, str.length) } module.exports = helperNumberOffsetPoint