The calculateNow method triggers the calculation in all fields in the current document.
calculateNow();
Returns None.
The developer needs to turn off the automatic calculation changing the calculate property to false.
Member of doc.
// Turning off the automatic calculation
this.calculate = false;
// Trigger the calculation
this.calculateNow();