Calculate percentage

calculate the percentage from field A and Field B to field C.

When creating any topic, explain it in detail. If you explain in detail, the community user will quickly understand. If they understand quickly, communication will decrease. If communication decreases, the response will be received quickly.

var percentage = (fieldA / fieldB) * 100;
frm.set_value('field_c', percentage);

Thanks for the update, I will take care of it from the next topic.