I have a variable that the server gives me with a value, I need to know if the number is par or odd , but without using %2
:
$.ajax({
url:'/numero',
type:'POST',
success:function(num){
// ¿Qué hago con num para saber qué es?
// num.numero me da el valor del numero ej;5,7,2...
}
})