美文网首页
求余和整除的计算

求余和整除的计算

作者: 不要动 | 来源:发表于2016-06-17 17:51 被阅读521次

    1.git更新报冲突,要删除哪里

    2.求余和整除的计算

    这就像咱们小学二年级的数学算数一样,比如是10÷3=3…1;这个1就是那个余数;再就是3÷10=0…10;就是除不开,余数就是10;再就是2÷3=0…2;于是取余就是2,就是这个原理

    3。imageview的大小

    [imag sd_setImageWithURL:[NSURL URLWithString:hom1.filepath] placeholderImage:nil options:(SDWebImageRetryFailed) completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {

    //  imag5.frame = CGRectMake(i*image.size.width/2, Y/4, image.size.width/2,Y/2);

    //                    NSLog(@"-------+-------------%f",X);

    ////

    if (image.size.height>Y)

    {

    //

    imag.contentMode = UIViewContentModeScaleAspectFill;

    }

    else

    {

    imag.contentMode = UIViewContentModeScaleAspectFit;

    }

    //NSLog(@"--------------------%f------------%f",image.size.height,Y);

    }];

    相关文章

      网友评论

          本文标题:求余和整除的计算

          本文链接:https://www.haomeiwen.com/subject/gpuvdttx.html