objective c - digits after decimal point -
How to get points after float number from decimal point in Objective Object
< Div is fine, it's C-style, but I think the process will be identical.
int decimals = (number - ((int) number)); Whereas (decimal> 0.0) {reportNextNumber ((int) (decimal * 10)); Decimal = (number - (int) number)); }
Comments
Post a Comment