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

KarymeRG-If Else con ISAN

Language: Layout:
- ] Show input
Absolute running time: 0.31 sec, cpu time: 0.15 sec, memory peak: 7 Mb, absolute service time: 0,33 sec 
edit mode |  history  | discussion
{"precio":500000,"isan":"function() {if (obj.precio<294797.45){isan=obj.precio*0.02; }else if (obj.precio<353756.88){isan=5895.85+(obj.precio-294797.45)*0.05; }else if (obj.precio<412716.53){isan=8843.96+(obj.precio-353756.88)*0.1; }else if (obj.precio<530635.17){isan=14739.89+(obj.precio-412716.53)*0.15; }else {isan=32427.66+(obj.precio-530635.17)*0.17; } return isan;}"}

    
                
λ
.NET NoSQL database for rapid development