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

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -