Open zhangxiangguang opened 6 years ago
var decimalNumber = NSDecimalNumber.decimalNumberWithString('12345678'); console.log('log --> ' + decimalNumber); //log --> 12345678 var dividingNumber = NSDecimalNumber.decimalNumberWithString('100'); console.log('log --> ' + dividingNumber); //log --> 100 //crash var number = decimalNumber.decimalNumberByDividingBy(dividingNumber); console.log('log --> ' + number);