(x)
| 790 | ); |
| 791 | |
| 792 | function numDecimals(x) { |
| 793 | x = x.toString(); |
| 794 | if (x.indexOf('.') > -1) { |
| 795 | return x.length - x.indexOf('.') - 1; |
| 796 | } else { |
| 797 | return 0; |
| 798 | } |
| 799 | } |
| 800 | |
| 801 | return NumberController; |
| 802 |
no outgoing calls
no test coverage detected