Skip to content

Commit

Permalink
$mol_number remove format function
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkalica committed Nov 25, 2024
1 parent 9f7d7e1 commit bfbe8cb
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions number/number.view.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
namespace $.$$ {

function format(num_str: string) {
let result = ''

for (let i = num_str.length - 1; i >= 0; i--) {
result += '_'
if ((i % 3) === 0) result += ' '
}

return result.trim()

}

/**
* Component for entering, incrementing and decrementing numeric values.
* @see https://mol.hyoo.ru/#!section=demos/demo=mol_number_demo
Expand Down

0 comments on commit bfbe8cb

Please sign in to comment.