Melted / Publications
Forum
Always round up to nearest integer
I have a division where I need to always have a rounded UP integer: numPositions=(int)round( bet/inMaxLot ); But this just rounds up/down normally, so how could I rewrite it so that it always rounds up? Hope you guys can help me :)