python round a number without round function code example Example: python round without math (int(10*x-0.5)+1) / 10.0