render Math doesn't work
render Math doesn't work
![mpm](https://secure.gravatar.com/avatar/07bcfde8221d0f985a1da9d32d6bac21/?default=https%3A%2F%2Fvanillicon.com%2F07bcfde8221d0f985a1da9d32d6bac21_200.png&rating=g&size=120)
I need to return the: (0.85/0.985) * data,
Is this correct?
{"data":"Poids","render":function (data){return Math(data*0.85/0.985);}},
Thanks
This discussion has been closed.
I need to return the: (0.85/0.985) * data,
Is this correct?
{"data":"Poids","render":function (data){return Math(data*0.85/0.985);}},
Thanks
Answers
I don't think you are using
Math
properly as it is not a function. Check out the Math doc.You should just be able to return your equation without Math.
{"data":"Poids","render":function (data){return data*0.85/0.985;}},
Kevin