PositionSizeLong = MIN(10,MAX(0.5,abs(round((LongMaxRisk/(Close*(MaxSLPrecentageLong/100))/PointValue)*pipsize)))) Hi PRT Master Above code give the contract size result as 0.5, 1, 2, 3, 4……10. What command should use to make it 0.5, 1, 1.5, 2.0, 2.5……..10? Thanks.