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