求出数字的位数(王蔚写的)
摘要:
Fn GetNumberDigit inputNumber =( digit = 0 absNumber = abs(inputNumber ) do ( digit += 1 absNumber /= 10.0 ) while absNumber >= 1 digit)GetNumberDigit 999.999 阅读全文
posted @ 2011-08-17 15:29 盖天00 阅读(131) 评论(0) 推荐(0) 编辑