How to handle rounding error
I have this script which does a simple calculation and displays result in a window:subtotal = 100.05;discountPercent = 0.1;discountAmount = subtotal * discountPercent;totalBeforeTax = subtotal - discountAmount;formattedMessage = Concat( "Subtotal:",Repeat(" ",5), Format(subtotal, "Currency"), "\!n", "Discount Percent:", Repeat(" ",5), Format(discountPercent, "Percent"), "\!n", "Discount Amount:",...
