6 lines
189 B
JavaScript
6 lines
189 B
JavaScript
function helperNumberOffsetPoint (str, offsetIndex) {
|
|
return str.substring(0, offsetIndex) + '.' + str.substring(offsetIndex, str.length)
|
|
}
|
|
|
|
module.exports = helperNumberOffsetPoint
|