Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Clasificador de objetos isan

Language: Layout:
- ] Show input
Absolute running time: 0.36 sec, cpu time: 0.23 sec, memory peak: 7 Mb, absolute service time: 0,42 sec  
edit mode |  history  | discussion
{"precio":350000,"isan":"function() {if (obj.precio<313163.33) {isan=obj.precio*0.02;}else if (obj.precio<375795.92) {isan=(obj.precio-313163.33)*0.05+6263.16;}else if (obj.precio<438428.76) {isan=(obj.precio-375795.93)*0.1+9394.94;}else if (obj.precio<563693.73) {isan=(obj.precio-438428.77)*0.15+15658.19;}else {isan=(obj.precio-563693.74)*0.17+34447.9;}return isan}"}

    
                
λ
.NET NoSQL database for rapid development