I\'m adding the floor of 4% to an int in this example 249. It will be a different int every time though. here is my code for that which works fine.
int qty = 249;