Need help to convert excel formula to javascript.
here\'s the formula from excel
=IF((C27-TRUNC(C29/4.2))*C12>0, (C27-TRUNC(C29/4.2))*C12*-1, 0)